mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-05 10:51:12 -07:00
24 lines
587 B
TypeScript
24 lines
587 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import type React from 'react';
|
|
import { Box, Text } from 'ink';
|
|
import { theme } from '../semantic-colors.js';
|
|
import { formatCommand } from '../key/keybindingUtils.js';
|
|
import { Command } from '../key/keyBindings.js';
|
|
|
|
export const RawMarkdownIndicator: React.FC = () => {
|
|
const modKey = formatCommand(Command.TOGGLE_MARKDOWN);
|
|
return (
|
|
<Box>
|
|
<Text>
|
|
raw markdown mode
|
|
<Text color={theme.text.secondary}> ({modKey} to toggle) </Text>
|
|
</Text>
|
|
</Box>
|
|
);
|
|
};
|