diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-11-01 07:09:35 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-11-01 07:09:35 -0700 |
commit | 2c6829c7fdda6d45722dc93e510e2ebbc80ce7bb (patch) | |
tree | 1b80192635f2c88da7a28b7ddd070094195f4a29 /ChangeLog-2009-2015 | |
parent | bf85503bb9d2a52d9d3ddb86ae08fe6de0705e1f (diff) | |
download | txr-2c6829c7fdda6d45722dc93e510e2ebbc80ce7bb.tar.gz txr-2c6829c7fdda6d45722dc93e510e2ebbc80ce7bb.tar.bz2 txr-2c6829c7fdda6d45722dc93e510e2ebbc80ce7bb.zip |
linenoise: avoid refresh in paren matching.
* linenoise/linenoise.c (move_cursor_multiline, move_cursor):
New functions.
(paren_jump): Use move_cursor rather than refresh_line.
In multi-line mode, this calculates the required cursor
movement and emits the escape sequences to make it happen,
without issuing a refresh, sending way less data to the
terminal.
Diffstat (limited to 'ChangeLog-2009-2015')
0 files changed, 0 insertions, 0 deletions