diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-11-01 19:30:20 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-11-01 19:30:20 -0700 |
commit | 438bb47da771479443a4468438974a6caebb78a1 (patch) | |
tree | cea4b9886d73c4a89e397a190dcf916c439450ef /ChangeLog-2009-2015 | |
parent | e0538074552ca48f7c994a49dce12be9210f07d4 (diff) | |
download | txr-438bb47da771479443a4468438974a6caebb78a1.tar.gz txr-438bb47da771479443a4468438974a6caebb78a1.tar.bz2 txr-438bb47da771479443a4468438974a6caebb78a1.zip |
linenoise: small move_cursor bugfix.
* linenoise/linenoise.c (move_cursor): We must update the
oldrow variable, expected by refresh_line to be tracking the
row position of the cursor. This bug doesn't affect the
current use of move_cursor for paren_jump, because that logic
moves the cursor to the original position, which makes the
oldrow value correct, and refresh_line is never called in
between. If we want to use move_cursor in more situations,
this has to be fixed.
Diffstat (limited to 'ChangeLog-2009-2015')
0 files changed, 0 insertions, 0 deletions