summaryrefslogtreecommitdiffstats
path: root/linenoise/LICENSE
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-10-12 20:04:16 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-10-12 20:04:16 -0700
commitd367c9e2fb84ec6d4a13faf18375dacefaa6fdc9 (patch)
treeabc3e2770c22548c9a37fe4e7d87b5b127dd898b /linenoise/LICENSE
parentd499b2062a0f88be35a3ebb2e75c99c695f9f383 (diff)
downloadtxr-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