summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-11-01 07:05:08 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-11-01 07:05:08 -0700
commita268abc3d1b980a4a19a7275108287dc3ce1e492 (patch)
treeb063d0b25187dcc12d85409225d1a6edebddcb59 /eval.c
parenta997f22131a7c98505cebcc88f3badd67a50518d (diff)
downloadtxr-a268abc3d1b980a4a19a7275108287dc3ce1e492.tar.gz
txr-a268abc3d1b980a4a19a7275108287dc3ce1e492.tar.bz2
txr-a268abc3d1b980a4a19a7275108287dc3ce1e492.zip
linenoise: clear need_refresh in refresh_line.
* linenoise/linenoise.c (refresh_line): Clear the need_refresh flag here. (edit): No need to clear it here any more. This will prevent some useless calls to refresh_line. Some edit operations set refresh_line, but then execute something that performs refresh_line unconditionally. If the flag is then reset, the top of the loop doesn't have to do another wasteful refresh.
Diffstat (limited to 'eval.c')
0 files changed, 0 insertions, 0 deletions