Revert "Including a test harness for it, and making sure the cursor is always at the end."

This reverts commit 97db77997f.
This commit is contained in:
Evan Senter
2025-04-18 18:29:27 +01:00
parent f330a87e50
commit dbf4c3a37c
12 changed files with 67 additions and 3269 deletions

View File

@@ -8,14 +8,12 @@ interface InputPromptProps {
setQuery: (value: string) => void;
onSubmit: (value: string) => void;
isActive: boolean;
forceKey: number;
}
const InputPrompt: React.FC<InputPromptProps> = ({
query,
setQuery,
onSubmit,
forceKey,
}) => {
const model = getModel();
@@ -24,7 +22,6 @@ const InputPrompt: React.FC<InputPromptProps> = ({
<Text color={'white'}>&gt; </Text>
<Box flexGrow={1}>
<TextInput
key={forceKey}
value={query}
onChange={setQuery}
onSubmit={onSubmit}