fix: restore subtitle playback keybindings

This commit is contained in:
2026-05-03 23:52:07 -07:00
parent 745996c72d
commit 8342fa0c0e
14 changed files with 183 additions and 22 deletions
@@ -92,3 +92,11 @@ test('default keybindings include fullscreen on F', () => {
);
assert.deepEqual(keybindingMap.get('KeyF'), ['cycle', 'fullscreen']);
});
test('default keybindings include replay and next subtitle controls', () => {
const keybindingMap = new Map(
DEFAULT_KEYBINDINGS.map((binding) => [binding.key, binding.command]),
);
assert.deepEqual(keybindingMap.get('Ctrl+Shift+KeyH'), ['__replay-subtitle']);
assert.deepEqual(keybindingMap.get('Ctrl+Shift+KeyL'), ['__play-next-subtitle']);
});