aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/main.c b/main.c
index 7d1e682..aa21426 100644
--- a/main.c
+++ b/main.c
@@ -149,6 +149,18 @@ void on_keypress(XEvent *ev) {
case XK_BackSpace:
key = 'p';
break;
+ case XK_Left:
+ key = 'h';
+ break;
+ case XK_Down:
+ key = 'j';
+ break;
+ case XK_Up:
+ key = 'k';
+ break;
+ case XK_Right:
+ key = 'l';
+ break;
}
switch (key) {