Your vim cursor position no longer jumps when the prompt input redraws or returns from an editor.
What's wrong with this entry?
Vim mode and the cursor offset now live in a shared store, so the prompt input restores where your cursor was instead of jumping when the input is re-created. Vim mode starts in INSERT and the cursor offset starts unset.
- The input seeds its cursor from the saved offset, saves it again on unmount, and re-clamps it in NORMAL mode using NFC-normalized text so multi-byte characters do not shift it.
- Turning vim mode off forces the mode back to INSERT.
- Returning from an external editor also re-clamps the cursor for NORMAL mode.
savedCursorOffset
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Editing a queued command keeps its mode and refuses on a dirty draft
Both mention input
-
v2.1.239
Cmd-C can copy a terminal selection
Both mention input
-
v2.1.239
A click that opens a menu no longer selects an item in it
Both mention input