diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-12-02 16:03:54 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-12-02 16:57:04 +0800 |
commit | f4d1abf7d2d066ee183d9cd588f336dc63f0da00 (patch) | |
tree | a2d38941bcc45b943037d2d682c50a891d808311 | |
parent | d27570168fd6d5a2144553002c8082ae626b7e84 (diff) | |
download | talos-petitboot-f4d1abf7d2d066ee183d9cd588f336dc63f0da00.tar.gz talos-petitboot-f4d1abf7d2d066ee183d9cd588f336dc63f0da00.zip |
ui/ncurses: Add key debug
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r-- | ui/ncurses/nc-cui.c | 2 |
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; |