Skip to content

Commit 03f9c88

Browse files
StivenKNclaude
andcommitted
fix(web): label Option on macOS in the start-in-background hint
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent a1a8212 commit 03f9c88

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎apps/web/src/components/settings/SettingsPanels.tsx‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,9 @@ function LegacyFeaturesSection() {
788788
}
789789

790790
export function GeneralSettingsPanel() {
791-
const modifierLabel = isMacPlatform(navigator.platform) ? "⌘" : "Ctrl";
791+
const isMac = isMacPlatform(navigator.platform);
792+
const modifierLabel = isMac ? "⌘" : "Ctrl";
793+
const altLabel = isMac ? "Option" : "Alt";
792794
const sendShortcutOptions = [
793795
{ value: "enter", label: "Enter" },
794796
{ value: "mod-enter-multiline", label: `${modifierLabel} + Enter for multiline prompts` },
@@ -1561,8 +1563,8 @@ export function GeneralSettingsPanel() {
15611563
description={
15621564
"Sending from a new thread starts it in the background and keeps the new-thread composer open. " +
15631565
(settings.sendShortcut === "mod-enter-multiline"
1564-
? `Press ${modifierLabel} + Enter for single-line prompts or ${modifierLabel} + Alt + Enter for multiline prompts to open the thread instead.`
1565-
: `Press ${modifierLabel}${settings.sendShortcut === "mod-enter" ? " + Alt" : ""} + Enter to open the thread instead.`)
1566+
? `Press ${modifierLabel} + Enter for single-line prompts or ${modifierLabel} + ${altLabel} + Enter for multiline prompts to open the thread instead.`
1567+
: `Press ${modifierLabel}${settings.sendShortcut === "mod-enter" ? ` + ${altLabel}` : ""} + Enter to open the thread instead.`)
15661568
}
15671569
resetAction={
15681570
settings.startNewThreadsInBackground !==

0 commit comments

Comments
 (0)