about summary refs log tree commit diff stats
path: root/src/kilo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kilo.c')
-rw-r--r--src/kilo.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/kilo.c b/src/kilo.c
index 22cf624..ef2e345 100644
--- a/src/kilo.c
+++ b/src/kilo.c
@@ -51,6 +51,7 @@
 #include <fcntl.h>
 
 #include "lua.h"
+#include "teliva.h"
 
 /* Syntax highlight types */
 #define HL_NORMAL 0
@@ -101,25 +102,6 @@ struct editorConfig {
 
 static struct editorConfig E;
 
-enum KEY_ACTION {
-        KEY_NULL = 0,
-        CTRL_B = 2,
-        CTRL_C = 3,
-        CTRL_D = 4,
-        CTRL_E = 5,
-        CTRL_F = 6,
-        CTRL_G = 7,
-        CTRL_H = 8,
-        TAB = 9,
-        ENTER = 10,
-        CTRL_L = 12,
-        CTRL_Q = 17,
-        CTRL_S = 19,
-        CTRL_U = 21,
-        CTRL_X = 24,
-        ESC = 27,
-};
-
 static void editorSetStatusMessage(const char *fmt, ...);
 
 /* =========================== Syntax highlights DB =========================