Kebab-CLI Controls Reference
Keyboard and mouse controls for typing, navigation, selection, scrolling, menus, and settings.
Keyboard Controls
Text Input
| Key | Action |
| A-Z, 0-9, symbols | Type character at cursor position |
| Enter/Return | Execute current command |
| Backspace/Delete | Remove character before cursor |
| Tab | (If implemented) Command completion |
| Shift+Tab | (If implemented) Backward completion |
Navigation
| Key | Action |
| Left Arrow | Move cursor left |
| Right Arrow | Move cursor right |
| Home | Move cursor to line start |
| End | Move cursor to line end |
| Up Arrow | (If implemented) Previous command |
| Down Arrow | (If implemented) Next command |
| Page Up | (If implemented) Scroll up |
| Page Down | (If implemented) Scroll down |
Selection & Editing
| Key | Action |
| Ctrl+A | (If implemented) Select all |
| Ctrl+C | (If implemented) Copy selection |
| Ctrl+V | (If implemented) Paste |
| Ctrl+X | (If implemented) Cut |
| Ctrl+Z | (If implemented) Undo |
Mouse Controls
Position Detection
The application detects mouse position over:
- Output Text: Any rendered text from previous commands
- Input Line: The active input area with prompt and user text
- Menu Bar: Menu labels and items
- Settings Panel: Sliders and buttons
Click Actions
Left Click
- On Text: Place cursor at clicked position or start selection
- On Menu Label: Open/close menu dropdown
- On Menu Item: Execute menu action
- On Settings Button: Toggle settings panel
- On Slider: Start dragging (only when panel visible)
- On Close Button: Close settings panel
Mouse Motion
| Action | Result |
| Hover over text | Cursor changes to text cursor (I-beam) |
| Hover over non-text area | Cursor changes to pointer cursor |
| Hover over menu label | Label highlights |
| Hover over menu item | Item highlights |
| Hold left button + drag | Create text selection |
| Drag slider | Adjust corresponding setting value |
Scroll Wheel
| Direction | Action |
| Scroll Up (Button 4) | Scroll output up (or settings if panel open) |
| Scroll Down (Button 5) | Scroll output down (or settings if panel open) |
Menu Controls
Opening Menus
- Click menu label (File, Edit, View, Window)
- Dropdown appears showing menu items
Navigating Menus
- Click a menu item to execute action
- Click elsewhere to close menu
- Click same menu label again to close menu
Available Actions
File Menu
Save → Saves output to output.txt
Save As → Custom filename dialog
Clear → Clear all output
Edit Menu
Copy → (Not yet implemented)
Paste → (Not yet implemented)
View Menu
Zoom In → (Not yet implemented)
Zoom Out → (Not yet implemented)
Window Menu
Minimize → (Not yet implemented)
Maximize → (Not yet implemented)
Settings Panel Controls
Opening Settings Panel
- Click the Settings button (right side of menu bar)
- Panel slides in from the right side
Adjusting Settings
- Font Size Slider: Drag left/right (real-time update)
- Line Height Slider: Drag left/right (real-time update)
- Color Sliders (if visible): Adjust RGB values with real-time preview
Closing Settings Panel
- Click the X button in top-right corner
- Or click outside the panel (if implemented)
Keyboard Shortcuts Summary
Quick Reference:
═══════════════════════════════════════════════════════════
Category | Shortcut | Function
═══════════════════════════════════════════════════════════
Input | A-Z, 0-9, Symbols | Type character
| Enter | Execute command
| Backspace | Delete character
─────────────────────────────────────────────────────────
Navigation | ←/→ Arrow | Move cursor
| Home/End | Line start/end
| ↑/↓ Arrow | History (TBD)
─────────────────────────────────────────────────────────
Scrolling | Mouse Wheel ↑/↓ | Scroll output
| Page Up/Down | Page scroll (TBD)
─────────────────────────────────────────────────────────
Mouse | Left Click | Position cursor
| Click + Drag | Select text
| Right Side Button | Toggle settings
─────────────────────────────────────────────────────────
Menu | Click Label | Open menu
| Click Item | Execute action
═══════════════════════════════════════════════════════════