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 89f73ea commit 9e8cf1cCopy full SHA for 9e8cf1c
bpython/scrollfrontend/repl.py
@@ -685,7 +685,7 @@ def paint(self, about_to_exit=False):
685
# extra character for space for the cursor
686
cursor_row = current_line_start_row + len(lines) - 1
687
if self.stdin.has_focus:
688
- cursor_column = len(self.current_stdouterr_line) - self.stdin.cursor_offset_in_line
+ cursor_column = len(self.current_stdouterr_line) + self.stdin.cursor_offset_in_line
689
assert cursor_column >= 0, cursor_column
690
elif self.coderunner.running:
691
cursor_column = len(self.current_cursor_line) + self.cursor_offset_in_line
0 commit comments