[BUG] Fullscreen rendering: blank screen after accepting plan with "clear context"

Resolved 💬 3 comments Opened Mar 31, 2026 by vnz Closed Apr 3, 2026

Description

When CLAUDE_CODE_NO_FLICKER=1 (fullscreen/alt-screen rendering) is enabled, accepting a plan with the "Yes, clear context and auto-accept edits" option causes the terminal to go completely blank — prompt, status bar, and all output disappear. The process continues running normally in the background (steady CPU usage, API calls proceeding), but the display never recovers.

Steps to Reproduce

  1. Set CLAUDE_CODE_NO_FLICKER=1 in settings or environment
  2. Enter plan mode (/plan or via a task)
  3. Approve the plan using "Yes, clear context and auto-accept edits" (Shift+Tab)
  4. Screen goes blank — no prompt, no status line, no output

Expected Behavior

After context clear, the alt-screen buffer should re-initialize and display the ongoing session normally.

Actual Behavior

The alt-screen buffer is not restored after the context clear. The terminal is completely blank. The Claude process continues working (confirmed via ps aux showing steady ~12.5% CPU). Killing and restarting is the only recovery.

Workaround

Use "Yes, auto-accept edits" (preserves context, no buffer reset) instead of the clear-context variant.

Environment

  • Claude Code v2.1.88
  • CLAUDE_CODE_NO_FLICKER=1
  • Linux (Debian 13)
  • Terminal: Kitty
  • Shell: Bash

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗