diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-11 06:41:08 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-11 06:41:08 -0700 |
commit | 077d813e87f69543ad695e88d1958e12e059a94f (patch) | |
tree | d42a63b783d2dd7cec4a77e64b70dcc6c1d35253 /hash.c | |
parent | 5e032b9b6a2dc023fc9a00006877b4233c301401 (diff) | |
download | txr-077d813e87f69543ad695e88d1958e12e059a94f.tar.gz txr-077d813e87f69543ad695e88d1958e12e059a94f.tar.bz2 txr-077d813e87f69543ad695e88d1958e12e059a94f.zip |
linenoise: Ctrl-C cleanly cancels completion.
* linenoise/linenoise.c (complete_line): If Ctrl-C is
pressed in completion mode, we cancel completion and return
0 so the command loop reads a new character.
* txr.1: Documented Ctrl-C in completion mode, and removed
the falsehood that ESC is a cancel command, adding instead
an explanation about the ESC handling is really for.
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions