diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-20 22:07:50 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-20 22:08:42 +0100 |
| commit | 6aeb589a8acb296b15473811f6633644786c8b61 (patch) | |
| tree | fb8f956756268e0b7ad067348217094684dca4cf /vis.h | |
| parent | b4b2c80752f32c0cbf72727a684dfbb2094179b1 (diff) | |
| download | vis-6aeb589a8acb296b15473811f6633644786c8b61.tar.gz vis-6aeb589a8acb296b15473811f6633644786c8b61.tar.xz | |
vis: improve literal insertion via <C-v> in insert mode
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -473,6 +473,8 @@ int vis_pipe_collect(Vis *vis, Filerange *range, const char *argv[], char **out, * following as will be processed by the input system. skips over special keys * such as <Enter> as well as pseudo keys registered via vis_action_register. */ const char *vis_keys_next(Vis*, const char *keys); +/* Tries to convert next symbolic key to a raw code point, returns -1 for unknown keys */ +long vis_keys_codepoint(Vis*, const char *keys); /* vis operates as a finite state machine (FSM), feeding keys from an input * queue (or a previously recorded macro) to key handling functions (see struct * KeyAction) which consume the input. |
