diff --git a/packages/cli/src/ui/components/ToastDisplay.test.tsx b/packages/cli/src/ui/components/ToastDisplay.test.tsx index f2ef9a287b..668f91c8d9 100644 --- a/packages/cli/src/ui/components/ToastDisplay.test.tsx +++ b/packages/cli/src/ui/components/ToastDisplay.test.tsx @@ -187,7 +187,9 @@ describe('ToastDisplay', () => { constrainHeight: true, }); await waitUntilReady(); - expect(lastFrame()).toContain('Press Ctrl+O to show more lines'); + expect(lastFrame()).toContain( + 'Ctrl+O to show more lines of the last response', + ); }); it('renders collapse hint when showIsExpandableHint is true and constrainHeight is false', async () => { @@ -196,6 +198,8 @@ describe('ToastDisplay', () => { constrainHeight: false, }); await waitUntilReady(); - expect(lastFrame()).toContain('Press Ctrl+O to collapse lines'); + expect(lastFrame()).toContain( + 'Ctrl+O to collapse lines of the last response', + ); }); }); diff --git a/packages/cli/src/ui/components/ToastDisplay.tsx b/packages/cli/src/ui/components/ToastDisplay.tsx index e383201219..6fcef1667c 100644 --- a/packages/cli/src/ui/components/ToastDisplay.tsx +++ b/packages/cli/src/ui/components/ToastDisplay.tsx @@ -78,7 +78,7 @@ export const ToastDisplay: React.FC = () => { const action = uiState.constrainHeight ? 'show more' : 'collapse'; return ( - Press Ctrl+O to {action} lines for the most recent response + Ctrl+O to {action} lines of the last response ); }