public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [setup - the official Cygwin setup program] branch master, updated. release_2.926-29-g8eb2882d
@ 2023-07-31 10:08 Christian Franke
0 siblings, 0 replies; only message in thread
From: Christian Franke @ 2023-07-31 10:08 UTC (permalink / raw)
To: cygwin-apps-cvs
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-31 10:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-31 10:08 [setup - the official Cygwin setup program] branch master, updated. release_2.926-29-g8eb2882d Christian Franke
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).