Closed tartley closed 1 year ago
njsmith replied in that thread: Huh, weird. Sounds like this is a quirk on Microsoft's end, so not much we can do about it, but useful to know.
So I'm filing this as a (closed) issue, then at least people can find it in searches in case it comes up.
Reported by the fabulous @LqdBcnAtWork in https://github.com/tartley/colorama/pull/352:
colorama.win32.GetConsoleScreenBufferInfo().dwCursorPosition is unreliable when used immediately after Cursor movement codes:
The following code has shown the issue and is repeatable for me:
By having end="" the Y position is calculated while not respecting the movement done by Cursor.UP, however having something print after the reposition fixes the issue.