summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2013-09-10 15:18:07 +0200
committerSven Eden <yamakuzure@gmx.net>2013-09-10 15:18:07 +0200
commitbc001f8f814e6984a31c803888b70ac77236b53e (patch)
tree3af67bf9b2a959f39277436f946754409a7a93dd
parentufed-curses-globals.[hc]: Added e_desc global to switch between original and ... (diff)
downloadufed-bc001f8f814e6984a31c803888b70ac77236b53e.tar.gz
ufed-bc001f8f814e6984a31c803888b70ac77236b53e.tar.bz2
ufed-bc001f8f814e6984a31c803888b70ac77236b53e.zip
Added handling for F10 to siwtch description display between original and alternative.
-rw-r--r--ufed-curses-checklist.c8
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