public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: Christian Franke <chrfranke@sourceware.org> To: cygwin-apps-cvs@sourceware.org Subject: [setup - the official Cygwin setup program] branch master, updated. release_2.926-29-g8eb2882d Date: Mon, 31 Jul 2023 10:08:46 +0000 (GMT) [thread overview] Message-ID: <20230731100846.D07533858CD1@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=8eb2882d04178927e55a423e0f4a7cb5798fc2a6 commit 8eb2882d04178927e55a423e0f4a7cb5798fc2a6 Author: Christian Franke <christian.franke@t-online.de> Date: Mon Jul 31 12:05:11 2023 +0200 Keyboard accelerator for keep or skip Ctrl+K selects keep or skip and then moves selection to next row. Diff: --- PickPackageLine.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PickPackageLine.cc b/PickPackageLine.cc index c1e2a150..d380965d 100644 --- a/PickPackageLine.cc +++ b/PickPackageLine.cc @@ -155,6 +155,7 @@ PickPackageLine::map_key_to_action(WORD vkey, int modkeys, int & col_num, col_num = new_col; return Action::PopUp; case 'I': // Ctrl+I: select install default version and move to next row + case 'K': // Ctrl+K: select keep or skip package and move to next row case 'R': // Ctrl+R: select reinstall and move to next row case 'U': // Ctrl+U: select uninstall and move to next row if (modkeys != ModifierKeys::Control) @@ -163,8 +164,9 @@ PickPackageLine::map_key_to_action(WORD vkey, int modkeys, int & col_num, switch (vkey) { case 'I': action_id = packagemeta::Install_action; break; + default: action_id = packagemeta::NoChange_action; break; case 'R': action_id = packagemeta::Reinstall_action; break; - default: action_id = packagemeta::Uninstall_action; break; + case 'U': action_id = packagemeta::Uninstall_action; break; } return Action::Direct | Action::NextRow; }
reply other threads:[~2023-07-31 10:08 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230731100846.D07533858CD1@sourceware.org \ --to=chrfranke@sourceware.org \ --cc=cygwin-apps-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).