Anthropic Claude Code: Terminal Fixes and System Prompts

Anthropic reduced Claude Code terminal flicker with a rendering rewrite. - Flicker traced to full scrollback clears on frequent redraws - Terminal split into viewport and scrollback buffer - Rewrote renderer with per-cell diffing - Minimized full-screen redraws; ~85% flicker reduction - Avoided alternate-screen mode to keep native terminal features - Adopted property-based testing for random UI states - GitHub repo publishes 40+ Claude Code system prompts - Repo includes token counts and changelog across 52 versions
Key insights
Claude Code rendering rewritten to reduce flicker
Claude Code developers identified terminal flicker caused by frequent viewport redraws and full scrollback buffer clears. The team rewrote the rendering engine to implement per-cell diffing and minimize full-screen redraws, reducing flicker by about 85% according to the post. (Supports posts: 18466).
Alternate screen mode not adopted to preserve native features
The team chose not to use 'alternate screen' mode because that approach would sacrifice native terminal features such as global search, mouse selection, and clipboard behavior; the team prioritized retaining native experience while improving rendering. (Supports posts: 18466).
Claude Code system prompts publicly compiled on GitHub
A GitHub repository, claude-code-system-prompts, aggregates over 40 system prompt files for Claude Code, including main system prompts, sub-agent prompts, tool descriptions and slash commands, with token counts and a changelog across 52 versions from v2.0.14 to v2.0.71. (Supports posts: 18530).