summaryrefslogtreecommitdiffstats
path: root/test3.hs
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-12-25 18:40:39 +0100
committertv <tv@shackspace.de>2014-12-25 18:40:39 +0100
commit0299524420701b1225c273c7ceff1f8093a3028b (patch)
tree57d95edc52f901cd9007dc46976536c77743c3f3 /test3.hs
parent0b7a0a95327549e5ce4de3ac72896aa18ae8cd25 (diff)
<Esc> is nop
Diffstat (limited to 'test3.hs')
-rw-r--r--test3.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test3.hs b/test3.hs
index bcaec33..d122ce5 100644
--- a/test3.hs
+++ b/test3.hs
@@ -121,6 +121,9 @@ main' query =
--v = Z.root cursor
update vty pic
nextEvent vty >>= \e -> case e of
+ EvKey KEsc [] ->
+ rec q
+
EvKey (KChar 'c') [MCtrl] ->
error "^C"