diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-10-12 20:04:16 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-10-12 20:04:16 -0700 |
commit | d367c9e2fb84ec6d4a13faf18375dacefaa6fdc9 (patch) | |
tree | abc3e2770c22548c9a37fe4e7d87b5b127dd898b /linenoise/LICENSE | |
parent | d499b2062a0f88be35a3ebb2e75c99c695f9f383 (diff) | |
download | txr-d367c9e2fb84ec6d4a13faf18375dacefaa6fdc9.tar.gz txr-d367c9e2fb84ec6d4a13faf18375dacefaa6fdc9.tar.bz2 txr-d367c9e2fb84ec6d4a13faf18375dacefaa6fdc9.zip |
linenoise: Ctrl-X Ctrl-P edits result of command.
* linenoise/linenoise.c (struct lino_state): New member,
result.
(edit): Ctrl-P or p in extended mode cause result string
to be inserted into the buffer.
(lino_copy): Ensure result string in copy is null.
(lino_cleanup): Free result string and set to null.
(lino_set_result): New function.
* linenoise/linenoise.h (lino_set_result): Declared.
Diffstat (limited to 'linenoise/LICENSE')
0 files changed, 0 insertions, 0 deletions