We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76bd304 commit a9da689Copy full SHA for a9da689
1 file changed
prompt_toolkit/document.py
@@ -430,7 +430,7 @@ def get_cursor_right_position(self, count=1):
430
"""
431
return min(count, len(self.current_line_after_cursor))
432
433
- def get_cursor_up_position(self, count=1): # TODO: implement `count`
+ def get_cursor_up_position(self, count=1):
434
435
Return the relative cursor position (character index) where we would be if the
436
user pressed the arrow-up button.
0 commit comments