summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/ShellModeIndicator.tsx
blob: 612af1a62c2075e48b7f8b320614b2a278693fa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * @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.SubtleComment}> (esc to disable)</Text>
    </Text>
  </Box>
);