diff options
| author | Adam <[email protected]> | 2025-12-30 10:21:32 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-30 10:21:37 -0600 |
| commit | e53192889cb9f7c2554d0229df9f5b2c87786e43 (patch) | |
| tree | 68d114ff80ff1a38447a851702ec20a065063b14 /packages/app/src/components | |
| parent | 23bbfb3d1584d9dd98ccb5431d193894af91f138 (diff) | |
| download | opencode-e53192889cb9f7c2554d0229df9f5b2c87786e43.tar.gz opencode-e53192889cb9f7c2554d0229df9f5b2c87786e43.zip | |
fix(app): better text selection
Diffstat (limited to 'packages/app/src/components')
| -rw-r--r-- | packages/app/src/components/prompt-input.tsx | 1 | ||||
| -rw-r--r-- | packages/app/src/components/terminal.tsx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 91e463832..5f0b4bdc5 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1321,6 +1321,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { onInput={handleInput} onKeyDown={handleKeyDown} classList={{ + "select-text": true, "w-full px-5 py-3 pr-12 text-14-regular text-text-strong focus:outline-none whitespace-pre-wrap": true, "[&_[data-type=file]]:text-icon-info-active": true, "font-mono!": store.mode === "shell", diff --git a/packages/app/src/components/terminal.tsx b/packages/app/src/components/terminal.tsx index 03251fe5f..b1bb36470 100644 --- a/packages/app/src/components/terminal.tsx +++ b/packages/app/src/components/terminal.tsx @@ -233,6 +233,7 @@ export const Terminal = (props: TerminalProps) => { style={{ "background-color": terminalColors().background }} classList={{ ...(local.classList ?? {}), + "select-text": true, "size-full px-6 py-3 font-mono": true, [local.class ?? ""]: !!local.class, }} |
