mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-23 12:30:43 -07:00
Ctrl-O (#17617)
This commit is contained in:
@@ -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');
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
@@ -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…',
|
||||
|
||||
@@ -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 })],
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user