martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.19k stars 259 forks source link

Cursor jumps to the top of the view pane when navigating past the end of file #1086

Closed rnpnr closed 1 year ago

rnpnr commented 1 year ago

To recreate:

  1. open a file
  2. navigate to the last character G$
  3. try to move to the next character l
  4. cursor jumps to the top of the window rather than staying in place

Commit https://github.com/martanne/vis/commit/c22b2c2937d9dd65d0609e57f948f08da7f5c5ea seems to be where this appeared.

ninewise commented 1 year ago

Fixed by Jeremy Bobbin in #1087