aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-09 14:54:23 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-09 16:41:45 +0200
commit9e7cb40b1f527c1bf431d4ca6c9b9ca4e70b5459 (patch)
tree9a6665f3a757d4c91bb3bfac210e16ed2bacf6dc /editor.h
parent66f5700d201c9456f917507db77a88115f38961c (diff)
downloadvis-9e7cb40b1f527c1bf431d4ca6c9b9ca4e70b5459.tar.gz
vis-9e7cb40b1f527c1bf431d4ca6c9b9ca4e70b5459.tar.xz
ui: move input handling code to ui specific files
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/editor.h b/editor.h
index 36f2829..edfa210 100644
--- a/editor.h
+++ b/editor.h
@@ -26,11 +26,6 @@ typedef union {
void (*f)(Editor*); /* generic editor commands */
} Arg;
-typedef struct {
- char str[6]; /* UTF8 character or terminal escape code */
- int code; /* curses KEY_* constant */
-} Key;
-
#define MAX_KEYS 2
typedef Key KeyCombo[MAX_KEYS];