summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/AutoAcceptIndicator.tsx
blob: dc23d5e252e908c3e065c0b4a04f43f612e48ca8 (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 AutoAcceptIndicator: React.FC = () => (
  <Box>
    <Text color={Colors.AccentGreen}>
      accepting edits
      <Text color={Colors.SubtleComment}> (shift + tab to disable)</Text>
    </Text>
  </Box>
);