⌨️CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN
Also known as CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1
Set to 1, it keeps the classic mode, with the terminal's own scroll.
Think of it like
It is like you keep writing on the paper roll. You can roll back.
Example
Jack copies output with tmux copy mode all day. Fullscreen broke that. He sets this, and copy mode works again.
Why it matters
Some people rely on their terminal's own search and copy. Classic mode keeps those.
Definition
Example code
bash
export CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1
claudeCommon mistake
Key takeaways
- 1Classic mode. Set 1.
- 2Wins over NO_FLICKER. And the setting.
- 3Agent view. Still fullscreen.