CLAUDE_CODE_NO_FLICKER=1 breaks text selection while scrolling in iTerm2
Resolved 💬 2 comments Opened Apr 5, 2026 by Co-Messi Closed May 15, 2026
Summary
When CLAUDE_CODE_NO_FLICKER=1 is set, text selection via click-and-drag while scrolling stops working in iTerm2.
Environment
- Terminal: iTerm2
- OS: macOS
- Claude Code version: latest
Steps to reproduce
- Add
CLAUDE_CODE_NO_FLICKER=1to~/.claude/settings.jsonunderenv - Start a Claude Code session
- Try to click and drag to select text while scrolling through output
Expected behavior
Text can be selected normally while scrolling, same as without the flag.
Actual behavior
Selection does not work — the terminal does not register the drag gesture for text selection when NO_FLICKER mode is active.
Workaround
Remove CLAUDE_CODE_NO_FLICKER=1. Selection works normally without it.
Notes
The flag works well in other terminals (e.g. Ghostty + tmux) but has this side effect in iTerm2. It would be helpful to document this known incompatibility, or handle iTerm2 differently.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗