aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-05-04 13:23:44 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-05-04 13:47:45 +0200
commit8f92b98848f9366e78c7aa824615bade83971513 (patch)
tree8c3253181320ae22abf76a370da339840a96a464 /main.c
parent583045c2d85f30cfebc7a7689c27c797db2d30f4 (diff)
downloadvis-8f92b98848f9366e78c7aa824615bade83971513.tar.gz
vis-8f92b98848f9366e78c7aa824615bade83971513.tar.xz
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.
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 6556700..eb98d44 100644
--- a/main.c
+++ b/main.c
@@ -4,6 +4,7 @@
#include <wchar.h>
#include <ctype.h>
#include <errno.h>
+#include <stdlib.h>
#include "ui-curses.h"
#include "vis.h"