diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-11-03 16:28:52 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-03 16:28:52 +0100 |
| commit | 250cdf484891e835f20c8624570daef0722e296f (patch) | |
| tree | b5eb3c760638a98bc18561736470e7ee42c93961 /vis.h | |
| parent | 563c515068fc63cdabe9ccec9292714c78fae8eb (diff) | |
| download | vis-250cdf484891e835f20c8624570daef0722e296f.tar.gz vis-250cdf484891e835f20c8624570daef0722e296f.tar.xz | |
vis: add vis_keys_inject to place keys into the input queue
This function can only be used from within key handlers.
The position argument has to point to a valid key from
within the same input buffer after which the new input
will be inserted.
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -323,6 +323,7 @@ bool vis_cmd(Vis*, const char *cmd); const char *vis_key_next(Vis*, const char *keys); const char *vis_keys(Vis*, const char *input); +bool vis_keys_inject(Vis*, const char *pos, const char *input); bool vis_signal_handler(Vis*, int signum, const siginfo_t *siginfo, const void *context); |
