Move the switcher highlight with Tab, leave arrows to the text box

This commit is contained in:
Ian Gulliver
2026-10-21 08:45:12 -07:00
parent f8e67836c3
commit b34f9c1511
2 changed files with 3 additions and 7 deletions
+2 -6
View File
@@ -191,12 +191,8 @@ final class Overlays {
return false
}
if image == nil, !marked, let switcher {
if code == 125 {
switcher.move(1)
return true
}
if code == 126 {
switcher.move(-1)
if code == 48 {
switcher.move(flags.contains(.shift) ? -1 : 1)
return true
}
if enter && !flags.contains(.shift) {
+1 -1
View File
@@ -77,7 +77,7 @@ private let shortcuts: [(String, [(String, String)])] = [
("Esc", "Close the switcher or a dialog"),
]),
("Task switcher", [
("↑ ↓", "Move the highlight"),
("Tab / Shift+Tab", "Move the highlight"),
("Enter", "Pick the highlighted row"),
("Shift+Enter", "New line in the first message"),
("name: message", "Start the task in the project whose name starts with name"),