HomeTutorials › Input Modes
Input Modes

Four Input Modes

#034 0:10 Part of the Rysh video series

One pane, four modes. Double-Escape cycles through them all.

Four Input Modes — 0:10 walkthrough

What you'll see

  1. Land in shell mode (>) and run a command.
  2. Double-Escape to prompt mode (<), the AI agent stream.
  3. Double-Escape to rysh mode (##); run ##help.
  4. Double-Escape to chat mode (@), then once more back to shell.

Commands shown

rysh
echo shell mode
##help

Keys used

EnterEscape

Transcript

0:00One pane, four modes. Double-Escape cycles through them all.

0:03Start rysh and you land in shell mode -- the greater-than prompt runs commands in your PTY.

0:08Double-press Escape. The prompt becomes a less-than sign -- that's prompt mode, where input goes to your AI agent with its own output stream.

0:18Double-Escape again and the prompt turns to hash-hash. This is rysh mode for built-in system commands.

0:28Once more and the prompt shows an at-sign -- chat mode, a separate AI chat with its own buffer.

0:38A final double-Escape brings you full circle back to shell. Greater-than, less-than, hash-hash, at-sign.

0:46Four markers, one key. Each mode keeps its own stream.

Key takeaway
Every pane has four input modes -- shell, prompt, rysh, chat -- each with its own marker and output stream, cycled by double-Escape.