Require shift for speed cycle keybind (s -> S)

This commit is contained in:
2026-08-11 12:22:44 -04:00
parent b2e9e5c16c
commit 2bf1c229c7
2 changed files with 3 additions and 1 deletions

View File

@@ -57,6 +57,8 @@ export function useMultimediaKeys(options: MultimediaKeysOptions = {}) {
break;
case "s":
// Speed is shift+s (S) so plain `s` stays free for search.
if (!key.shift) return;
emit("media.speedCycle", {});
break;

View File

@@ -68,7 +68,7 @@ export function PlaybackControls(props: PlaybackControlsProps) {
<box flexDirection="row" gap={1} marginLeft={2}>
<text fg={theme.textMuted}>Speed</text>
<text fg={theme.text}>{props.speed}x</text>
<text fg={theme.textMuted}>s</text>
<text fg={theme.textMuted}>S</text>
</box>
</box>
{/* audio warnings — wrap to their own (3rd) line when the row is tight */}