Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#105739)

hermes-seaeye[bot]d4d4ecfae0c1
diff --git a/ui-tui/src/components/textInput.tsx b/ui-tui/src/components/textInput.tsx
index a24100169ce..60e69963cc6 100644
--- a/ui-tui/src/components/textInput.tsx
+++ b/ui-tui/src/components/textInput.tsx
@@ -793,6 +793,7 @@ export function TextInput({
const [cur, setCur] = useState(() =>
cursorSnapshotRef?.current?.value === value ? cursorSnapshotRef.current.cursor : value.length
)
+
const [sel, setSel] = useState<null | { end: number; start: number }>(null)
const fwdDel = useFwdDelete(focus)
const termFocus = useTerminalFocus()