[BUG] /context command window flickers for 3-4 seconds then closes immediately

Resolved 💬 8 comments Opened Jan 16, 2026 by tomerbr1 Closed Apr 18, 2026

Bug Description

The /context command opens a window that flickers/flashes for 3-4 seconds, then immediately closes without displaying any content. Previously this worked correctly.

Environment

  • Claude Code version: 2.1.9
  • OS: macOS 15.7.3 (Sequoia)
  • Terminal: iTerm2 3.6.6
  • Shell: zsh
  • Node: Tested on both v25.3.0 and v22.22.0 (LTS) - issue persists on both

Steps to Reproduce

  1. Start a Claude Code session
  2. Type /context and press Enter
  3. Observe: window flickers/flashes for 3-4 seconds
  4. Window closes immediately without showing context usage

Expected Behavior

The /context command should display a stable window showing context usage breakdown (tokens used by conversation, files, tools, etc.)

Actual Behavior

Window appears briefly, flickers for 3-4 seconds, then closes. No content visible.

Additional Context

  • This worked correctly in previous versions
  • Issue occurs in iTerm2 (not tested in other terminals)

View original on GitHub ↗

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