Skip to content

Attachments ​

Parent: Interactive TUI.

Press ctrl+v to paste a clipboard image as an attachment when a supported host helper is available (wl-paste/xclip on Linux, pngpaste on macOS, or PowerShell on Windows/WSL). Hosts such as Herdr may paste clipboard content as a single filesystem path. Rho loads PNG, JPEG, GIF, and WebP paths as image attachments. It also extracts text from UTF-8 text and source files, PDFs, DOCX documents, and XLSX, XLS, or ODS spreadsheets and queues the result as a document attachment. An absolute document path is handled before slash-command parsing, so paths beginning with / do not become unknown commands. Press backspace in an empty message box to remove the last queued file. You can also click the ✕ after any attachment's label to remove that one.

Queued images show a short preview above the composer text when the terminal supports graphics (Kitty or Ghostty), capped at 6 rows. Multiple consecutive images pack left-to-right at a shared height with a small gap, rather than stretching across the full width. When the run would overflow the composer width, it wraps onto additional strips so every preview stays visible. Each preview keeps its [image N: ...] label on the row beneath. Document and pending extractions still use a full-width one-line label. Without graphics support, images keep the text label only.

Document extraction is bounded by input and extracted-character limits. PDFs need a text layer because scanned-image OCR is not included. PDF headings, lists, tables, links, and reading order are preserved as structured Markdown. The model receives extracted text with the filename, MIME type, truncation state, and warnings. Session model history stores that bounded text and metadata, not raw PDF or Office bytes. Images continue to use the provider's multimodal image path.