Move the switcher highlight with Tab, leave arrows to the text box
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user