Ctrl-F jumps to end of line after history
bug: When using emacs keybindings, after using Ctrl-P
/Ctrl-N
to cycle through previously used commands, the first use of Ctrl-F
jumps the cursor to the end of the line.
expect: Cursor should move one character to the right.
related: none
kernel: linux5.12
version: ion 1.0.0-alpha (x86_64-unknown-linux-gnu) / rev 9d76f020
interaction: none
context: This unexpected cursor jump occurs when first firing Ctrl-F
after any new firing of Ctrl-P
or Ctrl-N
. The unexpected action persists even when cursor is moved with Ctrl-A
or the arrow keys before firing Ctrl-F
.
If Ctrl-d
is called to delete a character before firing Ctrl-F
then the bug does not occur and the cursor moves 1 space to the right as expected.