diff --git a/mac/Sources/Byre/Dialogs.swift b/mac/Sources/Byre/Dialogs.swift index 66116a8..9a626b3 100644 --- a/mac/Sources/Byre/Dialogs.swift +++ b/mac/Sources/Byre/Dialogs.swift @@ -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) { diff --git a/mac/Sources/Byre/Switcher.swift b/mac/Sources/Byre/Switcher.swift index e229943..aeaab4c 100644 --- a/mac/Sources/Byre/Switcher.swift +++ b/mac/Sources/Byre/Switcher.swift @@ -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"),