From 250cdf484891e835f20c8624570daef0722e296f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 3 Nov 2015 16:28:52 +0100 Subject: 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. --- vis.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vis.h') diff --git a/vis.h b/vis.h index 4ceba61..0446f84 100644 --- a/vis.h +++ b/vis.h @@ -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); -- cgit v1.2.3