Skip to content

Conversation

tartley
Copy link
Owner

@tartley tartley commented Mar 14, 2025

Includes test and demo plus minor refactoring of ansitowin32

This is just a copy of @kgeorgiy's excellent #137. I copied his commits to this branch to make extra commits (e.g fixing conflicts) simpler than they would be on his fork's master.

TODO: There's some problem with CI, python versions don't exist on the specified OS variations. I'll go fix that separately first, in #403.
TODO: Review comments from #137 apply here too.

Georgiy Korneev and others added 6 commits July 13, 2017 18:05
Existing 'get_position' method is flawed in the following ways:
 * Naming: its setter is 'set_cursor_position', not 'set_position'
 * Abstraction leak: returns internal Win32 structure
 * There is no way to get adjusted cursor position
 * Receives handle, instead of on_stderr flag
There are no more uses of get_position in the code base, so it could be deprecated, and, possibly, removed in future
This was referenced Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant