Kebab-CLI Controls Reference

Keyboard and mouse controls for typing, navigation, selection, scrolling, menus, and settings.

Keyboard Controls

Text Input

KeyAction
A-Z, 0-9, symbolsType character at cursor position
Enter/ReturnExecute current command
Backspace/DeleteRemove character before cursor
Tab(If implemented) Command completion
Shift+Tab(If implemented) Backward completion

Navigation

KeyAction
Left ArrowMove cursor left
Right ArrowMove cursor right
HomeMove cursor to line start
EndMove 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

KeyAction
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

ActionResult
Hover over textCursor changes to text cursor (I-beam)
Hover over non-text areaCursor changes to pointer cursor
Hover over menu labelLabel highlights
Hover over menu itemItem highlights
Hold left button + dragCreate text selection
Drag sliderAdjust corresponding setting value

Scroll Wheel

DirectionAction
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

  1. Click menu label (File, Edit, View, Window)
  2. 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

  1. Click the Settings button (right side of menu bar)
  2. 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

  1. Click the X button in top-right corner
  2. 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
═══════════════════════════════════════════════════════════