Feature: visual screen clear without resetting conversation context
Resolved 💬 3 comments Opened Apr 9, 2026 by greogory Closed May 23, 2026
Problem
There is no way to clear the visual display in Claude Code without destroying conversation context.
/clearwipes the entire conversation context and creates a new sessionCtrl+Lis bound tochat:clearInput(clears the text input box only)app:redrawredraws the TUI but doesn't clear scrollback- There is no keybinding or command for a visual-only screen reset
Expected Behavior
A command (e.g., /cls) or keybinding that:
- Clears the visible terminal / scrollback display
- Preserves the full conversation context and session
- Equivalent to the
clearcommand in a normal terminal — cosmetic only
Why This Matters
Users accustomed to Ctrl+L or clear in terminal workflows instinctively reach for /clear when they want a clean screen, only to lose their entire conversation. This is a common footgun — multiple related issues exist:
- #39975 (add
/unclearto undo/clear) - #37451 (
/clearsemantics are misleading) - #31220 (
/clear --keep-session) - #25734 (destructive default in plan mode)
A visual-only clear would eliminate this entire class of accidents.
Environment
- Claude Code 2.1.97
- Linux (CachyOS)
- Terminal: Alacritty / kitty
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗