Skip to content

Commit ea21571

Browse files
committed
Ensure storing the actual cursor column
1 parent fe459b8 commit ea21571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/_pyrepl/windows_console.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def __write_changed_line(
287287
# here. Windows keeps the cursor at the end of the line. It only
288288
# wraps when the next character is written.
289289
# https://github.com/microsoft/terminal/issues/349
290-
self.posxy = wlen(newline) - 1, y
290+
self.posxy = self.screen_xy[0], y
291291
else:
292292
self.posxy = wlen(newline), y
293293

0 commit comments

Comments
 (0)