diff options
author | Sven Eden <yamakuzure@gmx.net> | 2013-09-10 15:18:07 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2013-09-10 15:18:07 +0200 |
commit | bc001f8f814e6984a31c803888b70ac77236b53e (patch) | |
tree | 3af67bf9b2a959f39277436f946754409a7a93dd /ufed-curses-checklist.c | |
parent | ufed-curses-globals.[hc]: Added e_desc global to switch between original and ... (diff) | |
download | ufed-bc001f8f814e6984a31c803888b70ac77236b53e.tar.gz ufed-bc001f8f814e6984a31c803888b70ac77236b53e.tar.bz2 ufed-bc001f8f814e6984a31c803888b70ac77236b53e.zip |
Added handling for F10 to siwtch description display between original and alternative.
Diffstat (limited to 'ufed-curses-checklist.c')
-rw-r--r-- | ufed-curses-checklist.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ufed-curses-checklist.c b/ufed-curses-checklist.c index 978e2f5..f83e9ed 100644 --- a/ufed-curses-checklist.c +++ b/ufed-curses-checklist.c @@ -522,6 +522,14 @@ static int callback(sFlag** curr, int key) wmove(wInp, 0, strlen(fayt)); break; + case KEY_F(10): + if (eDesc_ori == e_desc) e_desc = eDesc_alt; + else e_desc = eDesc_ori; + + drawFlags(); + wmove(wInp, 0, strlen(fayt)); + break; + #ifdef NCURSES_MOUSE_VERSION case KEY_MOUSE: // Masked flags can be turned off, nothing else |