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

19 lines
394 B
TypeScript

/**
* @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
<Text color={Colors.Gray}> (esc to disable)</Text>
</Text>
</Box>
);