diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-18 22:58:19 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-18 22:58:19 -0700 |
commit | 033462f4fb79769d89069f7a8bb7e905b5f09e23 (patch) | |
tree | 0743e11d89ce81a5af0719462592ba33c17370a4 /parser.c | |
parent | 34a8e91898d551d036742fd6fb45c57b8e95ad52 (diff) | |
download | txr-033462f4fb79769d89069f7a8bb7e905b5f09e23.tar.gz txr-033462f4fb79769d89069f7a8bb7e905b5f09e23.tar.bz2 txr-033462f4fb79769d89069f7a8bb7e905b5f09e23.zip |
linenoise: atom-gathering callback feature.
* linenoise/linenoise.c (struct lino_state): New members
atom_callback and ca_ctx.
(lino_set_atom_cb): New function.
(edit): Ctrl-X Ctrl-A invokes atom callback, and inserts
returned string.
* linenoise/linenoise.h (lino_atom_cb_t): New function pointer
typedef.
(lino_set_atom_cb): Declared.
Diffstat (limited to 'parser.c')
0 files changed, 0 insertions, 0 deletions