claude-code - 💡(How to fix) Fix [DOCS] [Environment] Missing `CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN` env var documentation for opting out of fullscreen rendering [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#56881Fetched 2026-05-07 03:42:57
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Code Example

And disabling mouse capture while keeping fullscreen rendering:

> If you rely on native selection all the time, set `CLAUDE_CODE_DISABLE_MOUSE=1` to opt out of mouse capture while keeping the flicker-free rendering and flat memory:
>

---

There is no documentation for an env var to do the reverse: opt out of the fullscreen alternate-screen renderer entirely and keep the conversation in the terminal's native scrollback.

### What's Wrong or Missing?


The changelog for v2.1.132 added `CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1` to let users opt out of the fullscreen alternate-screen renderer and keep the conversation in the terminal's native scrollback. This env var is not mentioned anywhere in the documentation.

Users who want to start Claude Code without fullscreen rendering have no documented environment-variable-based way to do so.

### Suggested Improvement


Add documentation for `CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1` on both the fullscreen page and the env-vars reference.

For example, add a new "Disabling fullscreen rendering" subsection near the bottom of the fullscreen page where it already says:

> To turn fullscreen rendering off, run `/tui default`, or unset the environment variable if you enabled it that way.

The documentation should note:
- `CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1` opts out of the alternate-screen renderer and keeps conversation output in the terminal's native scrollback
- This is useful for environments where users prefer native terminal scrollback
- The env-vars reference should list it alongside `CLAUDE_CODE_NO_FLICKER`

Example addition:
RAW_BUFFERClick to expand / collapse

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/fullscreen

Section/Topic

"Enabling fullscreen rendering" section or a new "Disabling fullscreen rendering" section

Current Documentation

The fullscreen page documents two environment variables related to the alt-screen renderer:

You can also set the CLAUDE_CODE_NO_FLICKER environment variable before starting Claude Code:

CLAUDE_CODE_NO_FLICKER=1 claude

And disabling mouse capture while keeping fullscreen rendering:

If you rely on native selection all the time, set CLAUDE_CODE_DISABLE_MOUSE=1 to opt out of mouse capture while keeping the flicker-free rendering and flat memory:

CLAUDE_CODE_NO_FLICKER=1 CLAUDE_CODE_DISABLE_MOUSE=1 claude

There is no documentation for an env var to do the reverse: opt out of the fullscreen alternate-screen renderer entirely and keep the conversation in the terminal's native scrollback.

What's Wrong or Missing?

The changelog for v2.1.132 added CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1 to let users opt out of the fullscreen alternate-screen renderer and keep the conversation in the terminal's native scrollback. This env var is not mentioned anywhere in the documentation.

Users who want to start Claude Code without fullscreen rendering have no documented environment-variable-based way to do so.

Suggested Improvement

Add documentation for CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1 on both the fullscreen page and the env-vars reference.

For example, add a new "Disabling fullscreen rendering" subsection near the bottom of the fullscreen page where it already says:

To turn fullscreen rendering off, run /tui default, or unset the environment variable if you enabled it that way.

The documentation should note:

  • CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1 opts out of the alternate-screen renderer and keeps conversation output in the terminal's native scrollback
  • This is useful for environments where users prefer native terminal scrollback
  • The env-vars reference should list it alongside CLAUDE_CODE_NO_FLICKER

Example addition:

# Disable fullscreen rendering and keep conversation in native scrollback
CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1 claude

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageContext
https://code.claude.com/docs/en/fullscreenPrimary documentation - missing CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN env var
https://code.claude.com/docs/en/env-varsEnvironment variables reference does not list the new variable

Total scope: 2 pages affected

The changelog entry for v2.1.132 reads:

Added CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1 env var to opt out of the fullscreen alternate-screen renderer and keep the conversation in the terminal's native scrollback

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [DOCS] [Environment] Missing `CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN` env var documentation for opting out of fullscreen rendering [1 comments, 2 participants]