diff options
Diffstat (limited to 'packages/cli/src/ui/components')
3 files changed, 6 insertions, 6 deletions
diff --git a/packages/cli/src/ui/components/ContextSummaryDisplay.test.tsx b/packages/cli/src/ui/components/ContextSummaryDisplay.test.tsx index d70bb4ca..b356e796 100644 --- a/packages/cli/src/ui/components/ContextSummaryDisplay.test.tsx +++ b/packages/cli/src/ui/components/ContextSummaryDisplay.test.tsx @@ -41,7 +41,7 @@ describe('<ContextSummaryDisplay />', () => { const { lastFrame } = renderWithWidth(120, baseProps); const output = lastFrame(); expect(output).toContain( - 'Using: 1 open file (ctrl+e to view) | 1 GEMINI.md file | 1 MCP server (ctrl+t to view)', + 'Using: 1 open file (ctrl+g to view) | 1 GEMINI.md file | 1 MCP server (ctrl+t to view)', ); // Check for absence of newlines expect(output.includes('\n')).toBe(false); @@ -52,7 +52,7 @@ describe('<ContextSummaryDisplay />', () => { const output = lastFrame(); const expectedLines = [ 'Using:', - ' - 1 open file (ctrl+e to view)', + ' - 1 open file (ctrl+g to view)', ' - 1 GEMINI.md file', ' - 1 MCP server (ctrl+t to view)', ]; @@ -78,7 +78,7 @@ describe('<ContextSummaryDisplay />', () => { mcpServers: {}, }; const { lastFrame } = renderWithWidth(60, props); - const expectedLines = ['Using:', ' - 1 open file (ctrl+e to view)']; + const expectedLines = ['Using:', ' - 1 open file (ctrl+g to view)']; const actualLines = lastFrame().split('\n'); expect(actualLines).toEqual(expectedLines); }); diff --git a/packages/cli/src/ui/components/ContextSummaryDisplay.tsx b/packages/cli/src/ui/components/ContextSummaryDisplay.tsx index 99406bd6..0c946385 100644 --- a/packages/cli/src/ui/components/ContextSummaryDisplay.tsx +++ b/packages/cli/src/ui/components/ContextSummaryDisplay.tsx @@ -49,7 +49,7 @@ export const ContextSummaryDisplay: React.FC<ContextSummaryDisplayProps> = ({ } return `${openFileCount} open file${ openFileCount > 1 ? 's' : '' - } (ctrl+e to view)`; + } (ctrl+g to view)`; })(); const geminiMdText = (() => { diff --git a/packages/cli/src/ui/components/__snapshots__/IDEContextDetailDisplay.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/IDEContextDetailDisplay.test.tsx.snap index 8b84e1f3..dd659db0 100644 --- a/packages/cli/src/ui/components/__snapshots__/IDEContextDetailDisplay.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/IDEContextDetailDisplay.test.tsx.snap @@ -3,7 +3,7 @@ exports[`IDEContextDetailDisplay > handles duplicate basenames by showing path hints 1`] = ` " ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ -│ VS Code Context (ctrl+e to toggle) │ +│ VS Code Context (ctrl+g to toggle) │ │ │ │ Open files: │ │ - bar.txt (/foo) (active) │ @@ -15,7 +15,7 @@ exports[`IDEContextDetailDisplay > handles duplicate basenames by showing path h exports[`IDEContextDetailDisplay > renders a list of open files with active status 1`] = ` " ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ -│ VS Code Context (ctrl+e to toggle) │ +│ VS Code Context (ctrl+g to toggle) │ │ │ │ Open files: │ │ - bar.txt (active) │ |
