Module: Legion::TTY::Screens::Chat::UiCommands
- Included in:
- Legion::TTY::Screens::Chat
- Defined in:
- lib/legion/tty/screens/chat/ui_commands.rb
Overview
rubocop:disable Metrics/ModuleLength
Constant Summary collapse
- TIPS =
[ 'Press Tab after / to auto-complete commands', 'Use /alias to create shortcuts (e.g., /alias s /save)', 'Press Ctrl+K to open the command palette', 'Use /grep for regex search (e.g., /grep error|warning)', 'Pin important messages with /pin, export with /bookmark', 'Use /compact 3 to keep only the last 3 message pairs', "Press 'o' in Extensions browser to open gem homepage", '/export html creates a styled dark-theme HTML export', 'Use /snippet save name to save assistant responses for reuse', 'The dashboard updates every 5 seconds; press r to refresh', '/context shows your full session state at a glance', 'Use /personality technical for code-focused responses', '/debug shows internal state counters in the status bar', 'Navigate dashboard panels with j/k or number keys 1-5', 'Use /diff to see new messages since a session was loaded' ].freeze
- HELP_TEXT =
[ 'SESSION : /save /load /sessions /delete /rename', 'CHAT : /clear /undo /compact /copy /search /grep /diff /stats', 'LLM : /model /system /personality /cost', 'NAV : /dashboard /extensions /config /palette /hotkeys', 'DISPLAY : /theme /plan /debug /context /time /uptime', 'TOOLS : /tools /export /bookmark /pin /pins /alias /snippet /history', '', 'Hotkeys: Ctrl+D=dashboard Ctrl+K=palette Ctrl+S=sessions Esc=back' ].freeze