From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 49AC21381F3 for ; Wed, 11 Sep 2013 06:04:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3213BE0C6B; Wed, 11 Sep 2013 06:04:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E284E0C5E for ; Wed, 11 Sep 2013 06:04:11 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6F96033EB81 for ; Wed, 11 Sep 2013 06:04:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 8E924E5467 for ; Wed, 11 Sep 2013 06:04:07 +0000 (UTC) From: "Sven Eden" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Eden" Message-ID: <1378819087.bc001f8f814e6984a31c803888b70ac77236b53e.yamakuzure@gentoo> Subject: [gentoo-commits] proj/ufed:master commit in: / X-VCS-Repository: proj/ufed X-VCS-Files: ufed-curses-checklist.c X-VCS-Directories: / X-VCS-Committer: yamakuzure X-VCS-Committer-Name: Sven Eden X-VCS-Revision: bc001f8f814e6984a31c803888b70ac77236b53e X-VCS-Branch: master Date: Wed, 11 Sep 2013 06:04:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c2984689-cc5d-428b-a6c7-a8488d7373a4 X-Archives-Hash: a923c7dce2991a631d21280af8c0c2d0 commit: bc001f8f814e6984a31c803888b70ac77236b53e Author: Sven Eden gmx net> AuthorDate: Tue Sep 10 13:18:07 2013 +0000 Commit: Sven Eden gmx de> CommitDate: Tue Sep 10 13:18:07 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=commit;h=bc001f8f Added handling for F10 to siwtch description display between original and alternative. --- ufed-curses-checklist.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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