aboutsummaryrefslogtreecommitdiff
path: root/ui-curses.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-09-13 17:49:38 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-10-05 15:54:30 +0200
commita76057df97157dc76959bcd40649f5953aebc9d3 (patch)
tree75df46b238edacc60ede00ee5821d47cb814b316 /ui-curses.h
parentfa950307aeb2a060be72fc73e0017e5497cb4ace (diff)
downloadvis-a76057df97157dc76959bcd40649f5953aebc9d3.tar.gz
vis-a76057df97157dc76959bcd40649f5953aebc9d3.tar.xz
vis: rework input handling using libtermkey
Key bindings are now specified as symbolic key strings, this will eventually allow run time configurable key mappings. This introduces a bulid time dependency on libtermkey which can be found at: http://www.leonerd.org.uk/code/libtermkey/
Diffstat (limited to 'ui-curses.h')
-rw-r--r--ui-curses.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/ui-curses.h b/ui-curses.h
index a2e1dc6..b9b63b1 100644
--- a/ui-curses.h
+++ b/ui-curses.h
@@ -6,21 +6,6 @@
#include "syntax.h"
enum {
- UI_KEY_DOWN = KEY_DOWN,
- UI_KEY_UP = KEY_UP,
- UI_KEY_LEFT = KEY_LEFT,
- UI_KEY_RIGHT = KEY_RIGHT,
- UI_KEY_HOME = KEY_HOME,
- UI_KEY_BACKSPACE = KEY_BACKSPACE,
- UI_KEY_DELETE = KEY_DC,
- UI_KEY_PAGE_DOWN = KEY_NPAGE,
- UI_KEY_PAGE_UP = KEY_PPAGE,
- UI_KEY_END = KEY_END,
- UI_KEY_SHIFT_LEFT = KEY_SLEFT,
- UI_KEY_SHIFT_RIGHT = KEY_SRIGHT,
-};
-
-enum {
UI_COLOR_DEFAULT = -1,
UI_COLOR_BLACK = COLOR_BLACK,
UI_COLOR_RED = COLOR_RED,