diff --git a/packages/cli/src/ui/components/InputPrompt.test.tsx b/packages/cli/src/ui/components/InputPrompt.test.tsx index a80df701d3..e88743367a 100644 --- a/packages/cli/src/ui/components/InputPrompt.test.tsx +++ b/packages/cli/src/ui/components/InputPrompt.test.tsx @@ -3340,28 +3340,28 @@ describe('InputPrompt', () => { name: 'first line, first char', relX: 0, relY: 0, - mouseCol: 8, + mouseCol: 4, mouseRow: 2, }, { name: 'first line, middle char', relX: 6, relY: 0, - mouseCol: 14, + mouseCol: 10, mouseRow: 2, }, { name: 'second line, first char', relX: 0, relY: 1, - mouseCol: 8, + mouseCol: 4, mouseRow: 3, }, { name: 'second line, end char', relX: 5, relY: 1, - mouseCol: 13, + mouseCol: 9, mouseRow: 3, }, ])( diff --git a/packages/cli/src/ui/components/LoadingIndicator.tsx b/packages/cli/src/ui/components/LoadingIndicator.tsx index a19bc5ca13..c883c95938 100644 --- a/packages/cli/src/ui/components/LoadingIndicator.tsx +++ b/packages/cli/src/ui/components/LoadingIndicator.tsx @@ -28,6 +28,7 @@ interface LoadingIndicatorProps { thought?: ThoughtSummary | null; thoughtLabel?: string; showCancelAndTimer?: boolean; + forceRealStatusOnly?: boolean; } export const LoadingIndicator: React.FC = ({ @@ -41,6 +42,7 @@ export const LoadingIndicator: React.FC = ({ thought, thoughtLabel, showCancelAndTimer = true, + forceRealStatusOnly = false, }) => { const streamingState = useStreamingContext(); const { columns: terminalWidth } = useTerminalSize(); @@ -74,7 +76,10 @@ export const LoadingIndicator: React.FC = ({ : null; const wittyPhraseNode = - showWit && wittyPhrase && primaryText === GENERIC_WORKING_LABEL ? ( + !forceRealStatusOnly && + showWit && + wittyPhrase && + primaryText === GENERIC_WORKING_LABEL ? ( {wittyPhrase}