From dbf4c3a37c55b8e14c9fefd1f839d3555072e17b Mon Sep 17 00:00:00 2001
From: Evan Senter <evansenter@gmail.com>
Date: Fri, 18 Apr 2025 18:29:27 +0100
Subject: Revert "Including a test harness for it, and making sure the cursor
 is always at the end."

This reverts commit 97db77997fd6369031d2f1cf750051999fb0b5b5.
---
 packages/cli/src/ui/components/InputPrompt.tsx | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'packages/cli/src/ui/components/InputPrompt.tsx')

diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx
index 1119926f..f79aeaa3 100644
--- a/packages/cli/src/ui/components/InputPrompt.tsx
+++ b/packages/cli/src/ui/components/InputPrompt.tsx
@@ -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}
-- 
cgit v1.2.3

