diff options
author | Amit Arora <amit.arora@linaro.org> | 2010-12-02 12:22:19 +0530 |
---|---|---|
committer | Amit Arora <amit.arora@linaro.org> | 2010-12-02 12:22:19 +0530 |
commit | 83ae6cbe2dc075e16bba51b0f8d641bad97b8fd3 (patch) | |
tree | 52c592abcd7c7ea5f9c917cd6c1891223101bd05 | |
parent | 203f4d40240c35d511d7c550311ada0bc651314d (diff) | |
download | powerdebug-83ae6cbe2dc075e16bba51b0f8d641bad97b8fd3.tar.gz |
Show all relevant keys for the window
-rw-r--r-- | display.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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(); |