We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bad8d6d commit 696a4ecCopy full SHA for 696a4ec
Lib/_pyrepl/windows_console.py
@@ -283,9 +283,11 @@ def __write_changed_line(
283
284
self.__write(newline[x_pos:])
285
if wlen(newline) == self.width:
286
- # If we wrapped we want to start at the next line
287
- self._move_relative(0, y + 1)
288
- self.posxy = 0, y + 1
+ # Wrapping with self._move_relative(0, y+1) can't move cursor down
+ # here. Windows keeps the cursor at the end of the line. It only
+ # wraps when the next character is written.
289
+ # https://github.com/microsoft/terminal/issues/349
290
+ self.posxy = wlen(newline) - 1, y
291
else:
292
self.posxy = wlen(newline), y
293
0 commit comments