Skip to content

Chat Composer

The composer is the text box at the bottom of the TUI where you type prompts. It’s more than a plain input — it has autocomplete for files and commands, supports multi-line input, and drives the option lists the agent shows you.

KeysAction
EnterSend the prompt
Shift+EnterInsert a newline (keep typing)
Ctrl+JInsert a newline (alternative)

Type @ to reference a file. A fuzzy-searchable dropdown of project files appears as you type:

Explain @src/main.py and how it wires up the CLI
  • The file index is gitignore-aware, so ignored files don’t clutter the results.
  • Mentioned files are attached to your prompt so the agent has their contents.
  • Mentions also work in kolega-code ask.

Type / at the start of the composer to run a command. A dropdown shows matching commands with descriptions:

/model Show or switch the active model
/effort Show or set the active thinking effort
/plan Switch to plan mode
/context Show current context token count

See the Slash Commands reference for the full list. Commands come from three sources — the agent’s built-ins, the TUI, and any project Skills.

Both @ and / open the same kind of dropdown. Navigate it with:

KeysAction
Up / DownMove between matches
TabAccept the highlighted match
EnterAccept (or send, if no dropdown is open)
EscapeDismiss the dropdown

When the agent asks you to make a choice — answering a question, or deciding what to do with a finished plan — the options appear as a vertical list above the composer:

KeysAction
Up / DownMove the highlight
19Select an option by number
EnterConfirm the highlighted option

When the list closes, focus returns to the composer so you can keep typing.

KeysAction
Ctrl+C / EscapeCancel the current generation
Ctrl+QSave the session and quit