This commit is contained in:
Jacob Richman
2026-01-26 18:14:03 -08:00
committed by GitHub
parent d75dc88de6
commit 8e8e7b33ed
6 changed files with 25 additions and 19 deletions

View File

@@ -48,7 +48,7 @@ describe('ShowMoreLines', () => {
} as NonNullable<ReturnType<typeof useOverflowState>>);
mockUseStreamingContext.mockReturnValue(streamingState);
const { lastFrame } = render(<ShowMoreLines constrainHeight={true} />);
expect(lastFrame()).toContain('Press ctrl-s to show more lines');
expect(lastFrame()).toContain('Press ctrl-o to show more lines');
},
);
});

View File

@@ -33,7 +33,7 @@ export const ShowMoreLines = ({ constrainHeight }: ShowMoreLinesProps) => {
return (
<Box>
<Text color={theme.text.secondary} wrap="truncate">
Press ctrl-s to show more lines
Press ctrl-o to show more lines
</Text>
</Box>
);

View File

@@ -88,7 +88,7 @@ export const INFORMATIVE_TIPS = [
'Clear your screen at any time with Ctrl+L…',
'Toggle the debug console display with F12…',
'Toggle the todo list display with Ctrl+T…',
'See full, untruncated responses with Ctrl+S…',
'See full, untruncated responses with Ctrl+O…',
'Toggle auto-approval (YOLO mode) for all tools with Ctrl+Y…',
'Cycle through approval modes (Default, Plan, Auto-Edit) with Shift+Tab…',
'Toggle Markdown rendering (raw markdown mode) with Alt+M…',

View File

@@ -308,7 +308,10 @@ describe('keyMatchers', () => {
},
{
command: Command.SHOW_MORE_LINES,
positive: [createKey('s', { ctrl: true })],
positive: [
createKey('s', { ctrl: true }),
createKey('o', { ctrl: true }),
],
negative: [createKey('s'), createKey('l', { ctrl: true })],
},