ui/ncurses: implement global keys
authorJeremy Kerr <jk@ozlabs.org>
Fri, 17 May 2013 02:26:05 +0000 (10:26 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 21 May 2013 07:29:43 +0000 (15:29 +0800)
commit9168031edb7affc437928a9123faf8fcbddf5d2a
tree8a33229750e7a719a64265d045bc573f25e52977
parenta610837ff38f5cc80bcbad465a80ab920e67927d
ui/ncurses: implement global keys

Add process_global_keys to handle global key events. Using this,
implement ctrl+l to refresh.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/ncurses/nc-cui.c