From e53192889cb9f7c2554d0229df9f5b2c87786e43 Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Tue, 30 Dec 2025 10:21:32 -0600 Subject: fix(app): better text selection --- packages/app/src/components/prompt-input.tsx | 1 + packages/app/src/components/terminal.tsx | 1 + 2 files changed, 2 insertions(+) (limited to 'packages/app/src/components') 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 = (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, }} -- cgit v1.2.3