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
|
return false
|
||||||
}
|
}
|
||||||
if image == nil, !marked, let switcher {
|
if image == nil, !marked, let switcher {
|
||||||
if code == 125 {
|
if code == 48 {
|
||||||
switcher.move(1)
|
switcher.move(flags.contains(.shift) ? -1 : 1)
|
||||||
return true
|
|
||||||
}
|
|
||||||
if code == 126 {
|
|
||||||
switcher.move(-1)
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if enter && !flags.contains(.shift) {
|
if enter && !flags.contains(.shift) {
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ private let shortcuts: [(String, [(String, String)])] = [
|
|||||||
("Esc", "Close the switcher or a dialog"),
|
("Esc", "Close the switcher or a dialog"),
|
||||||
]),
|
]),
|
||||||
("Task switcher", [
|
("Task switcher", [
|
||||||
("↑ ↓", "Move the highlight"),
|
("Tab / Shift+Tab", "Move the highlight"),
|
||||||
("Enter", "Pick the highlighted row"),
|
("Enter", "Pick the highlighted row"),
|
||||||
("Shift+Enter", "New line in the first message"),
|
("Shift+Enter", "New line in the first message"),
|
||||||
("name: message", "Start the task in the project whose name starts with name"),
|
("name: message", "Start the task in the project whose name starts with name"),
|
||||||
|
|||||||
Reference in New Issue
Block a user