From 8bd63d79f8efb51bace7228392f2afe3c99fb229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 9 Dec 2016 18:38:47 +0100 Subject: vis-lua: expose input key event in insert and replace modes --- vis.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vis.h') diff --git a/vis.h b/vis.h index 13f5454..fd0e300 100644 --- a/vis.h +++ b/vis.h @@ -31,6 +31,8 @@ typedef struct { void (*init)(Vis*); void (*start)(Vis*); void (*quit)(Vis*); + void (*mode_insert_input)(Vis*, const char *key, size_t len); + void (*mode_replace_input)(Vis*, const char *key, size_t len); void (*file_open)(Vis*, File*); bool (*file_save_pre)(Vis*, File*, const char *path); void (*file_save_post)(Vis*, File*, const char *path); -- cgit v1.2.3