Logo
Explore Help
Register Sign In
MediaMetz/gemini-cli
1
0
Fork 0
You've already forked gemini-cli
mirror of https://github.com/google-gemini/gemini-cli.git synced 2026-03-14 16:10:59 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
2285bba66eced3eee2b97ece250ec6e590f76efc
gemini-cli/packages/cli/src/ui/components/ShellModeIndicator.tsx

19 lines
403 B
TypeScript
Raw Normal View History

feat(cli): Add ShellModeIndicator component This commit introduces a new ShellModeIndicator component to visually signify when shell mode is active. - Displays "shell mode enabled (! to toggle)" in the UI. - The AutoAcceptIndicator is now hidden when shell mode is active to prevent UI clutter.
2025-05-18 22:16:57 -07:00
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import React from 'react';
import { Box, Text } from 'ink';
import { Colors } from '../colors.js';
export const ShellModeIndicator: React.FC = () => (
<Box>
<Text color={Colors.AccentYellow}>
shell mode enabled
feat: Allow Esc to exit shell mode - Update InputPrompt.tsx to handle Esc key for exiting shell mode. - Modify ShellModeIndicator.tsx to reflect the new keybinding. Fixes https://buganizer.corp.google.com/issues/419087952
2025-05-20 22:45:10 -07:00
<Text color={Colors.SubtleComment}> (esc to disable)</Text>
feat(cli): Add ShellModeIndicator component This commit introduces a new ShellModeIndicator component to visually signify when shell mode is active. - Displays "shell mode enabled (! to toggle)" in the UI. - The AutoAcceptIndicator is now hidden when shell mode is active to prevent UI clutter.
2025-05-18 22:16:57 -07:00
</Text>
</Box>
);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 2627ms Template: 11ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API