summaryrefslogtreecommitdiffstats
path: root/RELNOTES
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-30 23:19:08 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-30 23:19:08 -0700
commit7fcaf54de475ec9e06e612a73b4e90f09d641958 (patch)
tree69950ed0b17c1368c909bc3b103cc9d690cc07dd /RELNOTES
parent654267a6748d56757954f2c97e4178fdfc7c0626 (diff)
downloadtxr-7fcaf54de475ec9e06e612a73b4e90f09d641958.tar.gz
txr-7fcaf54de475ec9e06e612a73b4e90f09d641958.tar.bz2
txr-7fcaf54de475ec9e06e612a73b4e90f09d641958.zip
linenoise: fix multi-line issue in history search.
Aborting a multi-line search result with Ctrl-C messes up display because the row-related values are being done on a linenoise copy, and their latest values aren't backpropagated to the master lino_t. * linenoise/linenoise.c (copy_display_params): New static function. (history_search): Use the lino_t copy when clearing the screen, because lino_clear_screen manipulates a display parameter. When leaving the function, copy the latest display-related parameters from lc to l, so that l has the latest number of columns and all the right row stuff for multi-line mode.
Diffstat (limited to 'RELNOTES')
0 files changed, 0 insertions, 0 deletions