CLAUDE_CODE_NO_FLICKER vs CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN
People think these two do the same thing, since both are about the screen. They do the opposite. NO_FLICKER turns fullscreen mode on. DISABLE_ALTERNATE_SCREEN turns it off. It keeps the chat in your terminal's own history. If both are set, the second wins.
CLAUDE_CODE_NO_FLICKER
Set to 1, it turns on fullscreen mode, with less flicker.
CLAUDE_CODE_NO_FLICKER set to 1 turns on fullscreen mode. In fullscreen, Claude Code draws in its own screen, with less flicker and steady memory in long chats. It is a research preview. It wins over the tui setting, and /tui fullscreen does the same.
CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN
Set to 1, it keeps the classic mode, with the terminal's own scroll.
CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN set to 1 turns fullscreen off. Claude Code uses the classic mode. The chat stays in your terminal's own history, so Cmd+F and tmux copy work as usual. It wins over NO_FLICKER and the tui setting. Agent view still uses fullscreen.
In one line
- CLAUDE_CODE_NO_FLICKER
- Set to 1, it turns on fullscreen mode, with less flicker.
- CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN
- Set to 1, it keeps the classic mode, with the terminal's own scroll.