Skip to content

Commit

Permalink
MS Windows tools not waiting for input
Browse files Browse the repository at this point in the history
because the console position is not detected properly
  • Loading branch information
totaam committed Mar 9, 2024
1 parent 0725685 commit cc0fc8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/platform/win32/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def get_console_position(handle):
GetConsoleScreenBufferInfo(handle, byref(csbi))
cpos = csbi.dwCursorPosition
#wait for input if this is a brand-new console:
return cpos.X and cpos.Y
return cpos.X, cpos.Y
except Exception:
e = sys.exc_info()[1]
code = -1
Expand Down

0 comments on commit cc0fc8b

Please sign in to comment.