Option to disable auto-compaction and keep full conversation visible on screen
Resolved 💬 3 comments Opened Apr 4, 2026 by jagmeet-singh-sumo Closed May 14, 2026
Problem
When the context window fills up, Claude Code automatically compacts the conversation. This causes two issues:
- Older messages visually disappear from the terminal screen — there is no way to keep the full conversation visible without using
Ctrl+o→[every time. - Auto-compaction cannot be disabled — there is no setting to let the user control when compaction happens. Users who prefer to manage compaction manually (via
/compact) have no way to prevent the automatic trigger.
Requested Features
- A setting to keep the full conversation visible on screen even after compaction (e.g.
"preserveScrollback": trueinsettings.json). The compressed messages can still be removed from the context window, but the visual output in the terminal should remain intact.
- A setting to disable automatic compaction (e.g.
"autoCompact": falseinsettings.json). Let users decide when to compact using/compactinstead of having it triggered automatically. If the context is full and compaction is off, warn the user instead of auto-compacting.
Current Workarounds
Ctrl+o→[dumps history to scrollback, but requires manual action every time- Terminal scrollback works but is unreliable with long sessions
- No workaround exists for disabling auto-compaction
Environment
- Claude Code CLI (latest)
- macOS / iTerm2 & Terminal.app
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗