/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { Text } from 'ink'; import { theme } from '../semantic-colors.js'; import { useUIState } from '../contexts/UIStateContext.js'; export const ShortcutsHint: React.FC = () => { const { cleanUiDetailsVisible, shortcutsHelpVisible } = useUIState(); if (!cleanUiDetailsVisible) { return press tab twice for more ; } const highlightColor = shortcutsHelpVisible ? theme.text.accent : theme.text.secondary; return ? for shortcuts ; };