Files
gemini-cli/packages/cli/src/ui/components/ShellModeIndicator.tsx
T

19 lines
412 B
TypeScript
Raw Normal View History

2025-05-18 22:16:57 -07:00
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type React from 'react';
2025-05-18 22:16:57 -07:00
import { Box, Text } from 'ink';
2025-09-10 10:57:07 -07:00
import { theme } from '../semantic-colors.js';
2025-05-18 22:16:57 -07:00
export const ShellModeIndicator: React.FC = () => (
<Box>
<Text color={theme.ui.symbol}>
2025-05-18 22:16:57 -07:00
shell mode enabled
2025-09-10 10:57:07 -07:00
<Text color={theme.text.secondary}> (esc to disable)</Text>
2025-05-18 22:16:57 -07:00
</Text>
</Box>
);