Open davidbrochart opened 6 years ago
I realize it was already the case before prompt-toolkit 2.0.
Good point! I noticed that if you press $
and then move up/down, the cursor also remains at the end of the lines. There are many operations where this $
takes effect that we have to support.
BTW: if you find other bugs related to text objects or cursor movement; you can report the issues in the prompt_toolkit repository.
That's tricky though because you will have to differentiate between being at the last character of a line and being at the end of a line, which shows the same cursor position on the screen...
When going to the end of a line (
$
), thenCtrl-v
and select several lines (j
), thenShift-a
to append, the text is inserted at the position corresponding to the end of the first line instead of being inserted at the end of every line.