Fix legacy pgup/pgdown TUI keybind aliases (#28275)

This commit is contained in:
Sebastian
2026-05-19 13:52:00 +02:00
committed by GitHub
parent 9790a61f96
commit ee16f08ffa
2 changed files with 56 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ export type OpenTuiKeymap = ReturnType<typeof useKeymap>
const KEY_ALIASES = {
enter: "return",
esc: "escape",
pgdown: "pagedown",
pgup: "pageup",
} as const
function expandKeyAliases(input: string) {