feat(shortcuts): add half-page message scroll shortcuts

This commit is contained in:
Chris Scott committed 2026-10-08 11:50:37 -04:00
1 parent b06de60f6b
commit 7e8443f54f
5 files changed
+28 -2

No files matched your search

+4
View File
@@ -48,6 +48,8 @@ const ACTION_BY_TUI_NAME = new Map<string, KeyboardShortcutAction>([
['diff.open', 'toggleSourceControl'],
['session.timeline', 'timeline'],
['session.export', 'exportSession'],
['session.half.page.up', 'halfPageUp'],
['session.half.page.down', 'halfPageDown'],
])
const ACTION_BY_LEGACY_NAME = new Map<string, KeyboardShortcutAction>([
@@ -67,6 +69,8 @@ const ACTION_BY_LEGACY_NAME = new Map<string, KeyboardShortcutAction>([
['diff_open', 'toggleSourceControl'],
['session_timeline', 'timeline'],
['session_export', 'exportSession'],
['messages_half_page_up', 'halfPageUp'],
['messages_half_page_down', 'halfPageDown'],
])
const MODIFIER_LABELS = new Map<string, string | null>([