From e2e0162b5bfd2a5ef31f1d09fca4da8962d5d098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 10 May 2016 22:22:52 +0200 Subject: Revert "vis: clean up interaction between vis and ui" This caused issues on OpenBSD where it crashed the terminal. Also on Mac OS X suspend via ^Z (Ctrl-Z) was missing a \r i.e. the shell prompt was not properly redrawn. While in principle user interfaces should not have to depend on libtermkey, in practice this won't be an issue unless we are adding a non-terminal based UI (which won't happen anytime soon). This reverts commit 8f92b98848f9366e78c7aa824615bade83971513. Close #311 --- vis-core.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'vis-core.h') diff --git a/vis-core.h b/vis-core.h index 68b4e43..6d3b35f 100644 --- a/vis-core.h +++ b/vis-core.h @@ -2,7 +2,6 @@ #define VIS_CORE_H #include -#include #include "vis.h" #include "register.h" #include "text.h" @@ -175,7 +174,6 @@ 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