summaryrefslogtreecommitdiffstats
path: root/linenoise/linenoise.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-25 23:02:52 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-25 23:02:52 -0700
commitfedad1f30832e6b92ac87aaa39758758e783ceb7 (patch)
tree80fee79b9e2c3fc77ede678668c7187cd438d8db /linenoise/linenoise.h
parenta027ce3bf46727889ec14c396f57fec30496bf47 (diff)
downloadtxr-fedad1f30832e6b92ac87aaa39758758e783ceb7.tar.gz
txr-fedad1f30832e6b92ac87aaa39758758e783ceb7.tar.bz2
txr-fedad1f30832e6b92ac87aaa39758758e783ceb7.zip
linenoise: no wasteful retrace on clear screen.
* linenoise/linenoise.c (lino_clear_screen): Set l->maxrows to zero so that refresh_multiline won't emit useless upward cursor movement sequences. These have nowhere to go from the top line of the screen.
Diffstat (limited to 'linenoise/linenoise.h')
0 files changed, 0 insertions, 0 deletions