diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-12-31 05:30:46 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-12-31 05:30:46 -0800 |
commit | 51322f6c66d153d2f008a227c5e517f6fb34dbab (patch) | |
tree | e1df325a64c7c570e72f0dec8e7f2c765fc2b7b2 /gc.c | |
parent | de3c3e1d083d4fde847505b4626467e2cb8d4cd6 (diff) | |
download | txr-51322f6c66d153d2f008a227c5e517f6fb34dbab.tar.gz txr-51322f6c66d153d2f008a227c5e517f6fb34dbab.tar.bz2 txr-51322f6c66d153d2f008a227c5e517f6fb34dbab.zip |
linenoise: submit and stay in history.
* linenoise/linenoise.c (struct lino_state): New member
save_hist_idx.
(edit): If save_hist_idx is set, jump to that history position
and clear it. Handle ENTER in extended (Ctrl-X) mode
similarly to regular ENTER, but setting save_hist_idx.
* txr.1: Documented.
Diffstat (limited to 'gc.c')
0 files changed, 0 insertions, 0 deletions