diff options
| author | Alexandre Reyes Martins <[email protected]> | 2026-03-06 14:06:27 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-06 22:36:27 +0530 |
| commit | 95385eb65249aa6def266968e75061abd0fb0f46 (patch) | |
| tree | 866e2e96c9acb924f85e17c5d42210e52f5c6a1f /packages/app/src/components | |
| parent | a71b11caca88243a9e4399317bcc5234d432976c (diff) | |
| download | opencode-95385eb65249aa6def266968e75061abd0fb0f46.tar.gz opencode-95385eb65249aa6def266968e75061abd0fb0f46.zip | |
fix(app): enable Safari autocorrect in normal mode, disable in shell mode (#15563)
Diffstat (limited to 'packages/app/src/components')
| -rw-r--r-- | packages/app/src/components/prompt-input.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 40104bceb..532edd3bc 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1203,9 +1203,9 @@ export const PromptInput: Component<PromptInputProps> = (props) => { aria-multiline="true" aria-label={placeholder()} contenteditable="true" - autocapitalize="off" - autocorrect="off" - spellcheck={false} + autocapitalize={store.mode === "normal" ? "sentences" : "off"} + autocorrect={store.mode === "normal" ? "on" : "off"} + spellcheck={store.mode === "normal"} onInput={handleInput} onPaste={handlePaste} onCompositionStart={() => setComposing(true)} |
