diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-12 10:02:56 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-12 10:02:56 -0700 |
commit | d3868fc92143ff9506606830b16c47051e4ea1e4 (patch) | |
tree | 4e848728702fecee6ed324b2caba209772a7306d /linenoise/LICENSE | |
parent | ce937a42102cf549662678cd91026f6aa1b0a7cd (diff) | |
download | txr-d3868fc92143ff9506606830b16c47051e4ea1e4.tar.gz txr-d3868fc92143ff9506606830b16c47051e4ea1e4.tar.bz2 txr-d3868fc92143ff9506606830b16c47051e4ea1e4.zip |
linenoise: Ctrl-R search
* linenoise/linenoise.c (next_hist_match, history_search): New
static function.
(edit): New Ctrl-R case added to early switch that also
handles Tab completion, and calls history_search.
(lino_free): Adding null check, so we can safely call
lino_free(0). history_search relies on this.
* txr.1: Documented search.
Diffstat (limited to 'linenoise/LICENSE')
0 files changed, 0 insertions, 0 deletions