# Composer

The composer is a text box for writing long prompts and commands, with files,
images, and dictation. It sends to the active terminal, or to every visible
terminal in the project. Handy for AI agents.

## Use it

| Action | Default shortcut |
| --- | --- |
| Open or close | `Ctrl+Shift+I` |
| Send and press Return | `Ctrl+Return` |
| Send without Return | `Ctrl+Shift+Return` |
| Close | `Esc` |

- Sending first clears the terminal's prompt with `Ctrl+U`, in programs that
  support it.
- With text selected, only the selection is sent.
- **Send to All Split Panes** in the **…** menu sends to every pane you can see
  in the project. If one of them isn't a live terminal, such as a kibble
  tab, nothing is sent.
- A failed send keeps the draft. Some terminals may already have received it,
  so check before retrying.
- Each project keeps its own draft, saved across restarts.

## Files and images

Attach with **Attach File**, drag and drop, or paste.

- Files are inserted as quoted paths.
- Images appear as `[Image N]`. By default they are put on the clipboard and
  sent with `Ctrl+V`, which AI tools read. Set **Settings → Composer → Image
  submission** to paste file paths instead.
- For [remote](https://nana.areshk.dev/docs/features/remote-servers.md) terminals, attachments are uploaded and the
  remote path is sent.

## Layout

The composer opens as a panel on the right or bottom, or as a floating box
that closes after sending. Switch from its **…** menu, which also has
**Clear After Sending**, **Clear on Close**, and **Reset Composer Size**.
`Ctrl+=` and `Ctrl+-` change its font size.

## Dictation

Dictation is not available on Windows yet.