Feature: soft clear that preserves conversation context
Status Fixed / completed
Maintainer reply None cached
Activity 2 comments · opened May 22, 2026 · closed May 22, 2026
Problem
/clear is the only way to get a clean screen in Claude Code, but it destroys the entire conversation context. There's no way to get the visual benefit of a fresh screen while keeping the conversation intact.
Desired behavior
A command (e.g. /cls or /clear --soft) that:
- Visually clears the terminal output so you're looking at a blank screen
- Preserves the full conversation context so Claude still remembers everything
- Allows scrolling back up in the terminal to see prior output
Essentially the equivalent of clear in a shell — it moves the viewport, not the history.
Use case
When working on a long session, the screen gets cluttered. I want a fresh visual slate without losing the conversation state I've built up. If I accidentally clear, I want to be able to scroll back.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗