aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Arora <amit.arora@linaro.org>2010-12-02 12:22:19 +0530
committerAmit Arora <amit.arora@linaro.org>2010-12-02 12:22:19 +0530
commit83ae6cbe2dc075e16bba51b0f8d641bad97b8fd3 (patch)
tree52c592abcd7c7ea5f9c917cd6c1891223101bd05
parent203f4d40240c35d511d7c550311ada0bc651314d (diff)
downloadpowerdebugV2-83ae6cbe2dc075e16bba51b0f8d641bad97b8fd3.tar.gz
Show all relevant keys for the window
-rw-r--r--display.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/display.c b/display.c
index 22b605a..61fd08f 100644
--- a/display.c
+++ b/display.c
@@ -96,6 +96,14 @@ void create_windows(void)
strcpy(footer_items[0], " Q (Quit) ");
strcpy(footer_items[1], " R (Refresh) ");
+ if (selectedwindow == CLOCK)
+ strcpy(footer_items[2], " Other Keys: 'Left', 'Right', 'Up', 'Down', 'enter', "
+ " '/', 'Esc' ");
+ else
+ strcpy(footer_items[2], " Other Keys: 'Left', 'Right' ");
+
+ strcpy(footer_items[3], "");
+
werase(stdscr);
refresh();