From 8f92b98848f9366e78c7aa824615bade83971513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 4 May 2016 13:23:44 +0200 Subject: vis: clean up interaction between vis and ui A concrete user interface implementation should not have to depend on libtermkey. Therefore the vis core now uses an independent instance to parse keys. --- vis-core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vis-core.h') diff --git a/vis-core.h b/vis-core.h index 6d3b35f..68b4e43 100644 --- a/vis-core.h +++ b/vis-core.h @@ -2,6 +2,7 @@ #define VIS_CORE_H #include +#include #include "vis.h" #include "register.h" #include "text.h" @@ -174,6 +175,7 @@ struct Vis { VisEvent *event; Array motions; Array textobjects; + TermKey *termkey; /* libtermkey instance used to parse special keys given by ui */ }; /** stuff used by multiple of the vis-* files */ -- cgit v1.2.3