Cmd. /raw
Toggle raw scrollback mode for easier terminal selection and copying.
Key takeaways
- Toggle raw scrollback mode for easier terminal selection and copying.
- Check the input surface and availability before using the examples below.
Purpose
Toggle raw scrollback mode for easier terminal selection and copying.
/rawAvailability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Current reference |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-09-22 · Codex CLI 0.155.1 |
The installed command menu and account or organization settings determine availability.
Examples
/rawWhen to use it
- Copy a long build or test log exactly as it appeared.
- Paste an error trace into an issue without markdown rendering changes.
Choosing related commands
| Command | Difference | Choose It When |
|---|---|---|
/raw | Changes scrollback selection behavior | You need exact terminal output |
/copy | Copies the latest Codex response | You only need the last assistant output |
/diff | Shows Git diff | You are reviewing file changes |
Effects and persistence
Opens a raw session view without executing code changes.
/raw toggles raw scrollback mode so terminal output is easier to select and copy without extra formatting.
Cautions
/rawdoes not clear or compact the conversation.- Document the default with team keybindings if terminal behavior changes are confusing.
Official sources
Complete command list · Verification scope · History for this command