fix: address PR #49 CodeRabbit follow-ups

This commit is contained in:
2026-04-11 11:00:17 -07:00
committed by sudacode
parent 5b4844c16a
commit ef41121774
13 changed files with 170 additions and 26 deletions

View File

@@ -160,8 +160,9 @@ export function createKeyboardHandlers(
return true;
}
if (!/^[1-9]$/.test(e.key) || e.ctrlKey || e.metaKey || e.altKey) {
return false;
if (!/^[1-9]$/.test(e.key) || e.ctrlKey || e.metaKey || e.altKey || e.shiftKey) {
e.preventDefault();
return true;
}
e.preventDefault();
@@ -1115,6 +1116,7 @@ export function createKeyboardHandlers(
return {
beginSessionNumericSelection,
getSessionHelpOpeningInfo: resolveSessionHelpChordBinding,
setupMpvInputForwarding,
refreshConfiguredShortcuts,
updateSessionBindings,