diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-11-01 07:07:30 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-11-01 07:07:30 -0700 |
commit | bf85503bb9d2a52d9d3ddb86ae08fe6de0705e1f (patch) | |
tree | 60eba5ec23833cc6e627b521836aecc56301eb4c /struct.c | |
parent | a268abc3d1b980a4a19a7275108287dc3ce1e492 (diff) | |
download | txr-bf85503bb9d2a52d9d3ddb86ae08fe6de0705e1f.tar.gz txr-bf85503bb9d2a52d9d3ddb86ae08fe6de0705e1f.tar.bz2 txr-bf85503bb9d2a52d9d3ddb86ae08fe6de0705e1f.zip |
linenoise: avoid refresh for new text in multi-line mode.
* linenoise/linenoise.c (edit_insert): This function is
missing an important optimization for multi-line mode. Let's
add it. Since multi-line mode doesn't scroll horizontally, it
is very simple: if a character is added at the end, there is
no need for refresh.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions