summaryrefslogtreecommitdiffstats
path: root/ui/ncurses
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-12-02 16:03:54 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-12-02 16:57:04 +0800
commitf4d1abf7d2d066ee183d9cd588f336dc63f0da00 (patch)
treea2d38941bcc45b943037d2d682c50a891d808311 /ui/ncurses
parentd27570168fd6d5a2144553002c8082ae626b7e84 (diff)
downloadtalos-petitboot-f4d1abf7d2d066ee183d9cd588f336dc63f0da00.tar.gz
talos-petitboot-f4d1abf7d2d066ee183d9cd588f336dc63f0da00.zip
ui/ncurses: Add key debug
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses')
-rw-r--r--ui/ncurses/nc-cui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c
index df727bc..9427e4a 100644
--- a/ui/ncurses/nc-cui.c
+++ b/ui/ncurses/nc-cui.c
@@ -296,6 +296,8 @@ static int cui_process_key(void *arg)
for (;;) {
int c = getch();
+ pb_debug("%s: got key %d\n", __func__, c);
+
if (c == ERR)
break;
OpenPOWER on IntegriCloud