UNPKG

askme-cli

Version:

askme-cli MCP server that collects user's next plan or confirmation through terminal window

9 lines 1.21 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { Box, Text } from 'ink'; export const HelpPanel = ({ visible }) => { if (!visible) { return _jsx(Box, {}); } return (_jsxs(Box, { marginTop: 1, borderStyle: "round", borderColor: "yellow", padding: 1, flexDirection: "column", children: [_jsx(Text, { color: "yellow", bold: true, children: "\u2318 Keyboard Shortcuts:" }), _jsx(Text, {}), _jsx(Text, { color: "green", children: "\u2022 Double Enter - Submit plan/confirmation" }), _jsx(Text, { color: "green", children: "\u2022 Enter / Shift+Enter - New line" }), _jsx(Text, { color: "green", children: "\u2022 Ctrl+L - Clear input" }), _jsx(Text, { color: "green", children: "\u2022 Ctrl+V - Paste (text/image)" }), _jsx(Text, { color: "red", children: "\u2022 Ctrl+C - Cancel and exit" }), _jsx(Text, {}), _jsx(Text, { color: "cyan", children: "\u27A1\uFE0E Navigation" }), _jsx(Text, { color: "white", children: "\u2022 Ctrl+F/B - Move left/right" }), _jsx(Text, { color: "white", children: "\u2022 Ctrl+P/N - Move up/down" }), _jsx(Text, { color: "white", children: "\u2022 Ctrl+A/E - Line start/end" }), _jsx(Text, {})] })); }; //# sourceMappingURL=HelpPanel.js.map