Terminal Features

Virtual keyboard, touch gestures, and mobile-optimized terminal interaction.

AgentOS provides a full terminal experience optimized for touch devices. Here's everything you can do.

Virtual Keyboard

The built-in keyboard is designed for terminal use, not just text entry.

Three Modes

Switch between modes by tapping the mode buttons above the keyboard:

Quick Keys (Default)

One-tap buttons for the most common terminal interactions:

KeyAction
YAnswer "yes" to prompts
nAnswer "no" to prompts
EnterSubmit input / confirm
Ctrl+CCancel / interrupt current process
Ctrl+DExit / send EOF
Ctrl+LClear terminal screen
TabAutocomplete
↑ / ↓Navigate command history

This mode is perfect for interacting with AI agents that frequently ask for confirmation.

ABC Mode

Full alphabetic keyboard for typing commands and text:

  • Standard QWERTY layout
  • Shift for capitals
  • Common symbols accessible
  • Spacebar and backspace

Numbers Mode

Numeric keypad with symbols:

  • 0-9 number keys
  • Common programming symbols
  • Arrow keys for navigation
  • Useful for entering numbers, IPs, ports

Keyboard Tips

  • Swipe left/right on the keyboard area to switch modes quickly
  • Long-press keys for alternate characters (where available)
  • The keyboard remembers your last mode per session

Touch Gestures

Terminal Gestures

GestureAction
TapFocus terminal, show keyboard
Two-finger scrollScroll terminal history
Pinch in/outZoom font size
Swipe from left edgeOpen session sidebar

Git Panel Gestures

GestureAction
Swipe right on fileStage file
Swipe left on fileUnstage file
Tap fileView diff

Navigation Gestures

GestureAction
Swipe down on modalClose modal
Tap outside modalClose modal
Long-press sessionShow context menu

Multi-Line Input

Some AI agents (like Claude Code) support multi-line input. To enter multiple lines:

  1. Type your first line
  2. Press Shift+Enter (or tap the Shift+Enter button)
  3. Continue typing on the new line
  4. Press Enter to submit all lines

This is useful for pasting code blocks or complex prompts.

Terminal Scrolling

Scroll History

The terminal maintains a scrollback buffer. Scroll up to see previous output:

  • Two-finger swipe up/down
  • Scroll-to-bottom button appears when scrolled up

Alternate Screen

Some programs (like vim, less, htop) use an alternate screen buffer. AgentOS handles this correctly:

  • Smooth scrolling in alternate buffer
  • Proper cleanup when program exits
  • No mixing of normal and alternate content

Font Size

Adjust terminal font size with pinch gestures:

  • Pinch out - Increase font size
  • Pinch in - Decrease font size

Font size persists per session.

Session Status Indicators

The terminal header shows real-time session status:

StatusIndicatorMeaning
RunningGreen dotAgent is actively working
WaitingYellow dotNeeds your input
IdleGray dotNo recent activity
DeadRed dotSession terminated

When status changes to "Waiting", you'll get a notification (if enabled).

Quick Switcher

Press Cmd+K (or Ctrl+K on Windows/Linux) to open the quick switcher:

  • Type to filter sessions by name
  • Arrow keys to navigate
  • Enter to switch to selected session
  • Works on both desktop and mobile (via menu)

Image Input (Claude Code)

Claude Code supports image input. To send an image:

  1. Tap the image icon in the toolbar
  2. Browse the server filesystem
  3. Select an image file
  4. The image path is inserted into your prompt

Supported formats: PNG, JPG, GIF, WebP

Clipboard

Copy from Terminal

Select text in the terminal:

  • Long-press and drag to select
  • Tap "Copy" in the selection menu

Paste to Terminal

  • Long-press in the terminal area
  • Tap "Paste" in the context menu
  • Or use Ctrl+Shift+V with a physical keyboard

Desktop vs Mobile

AgentOS adapts its terminal interface based on device:

Mobile

  • Full-screen terminal
  • Virtual keyboard
  • Bottom tab navigation
  • Swipe gestures

Desktop

  • Multi-pane layout (up to 4 terminals)
  • Physical keyboard
  • Left sidebar
  • Traditional scrollbars
  • Keyboard shortcuts

The same features are available on both—just optimized for each input method.