Skip to content
Draft
1 change: 1 addition & 0 deletions Lib/_pyrepl/windows_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ def __write_changed_line(
self.__write(newline[x_pos:])
if wlen(newline) == self.width:
# If we wrapped we want to start at the next line
self.__write("\r\n")
self._move_relative(0, y + 1)
self.posxy = 0, y + 1
else:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix REPL cursor position on Windows when module completion suggestion line
hits console width.
Loading