File tree Expand file tree Collapse file tree
apps/web/src/components/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -788,7 +788,9 @@ function LegacyFeaturesSection() {
788788}
789789
790790export 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 !==
You can’t perform that action at this time.
0 commit comments