[Bug] Framebuffer output causes accessibility issues without respecting screen dimensions
Bug Description
You need to stop dumping the entire framebuffer to the screen. Read the screen dimensions. This is table stakes, and it's _very_ disappointing that you're triggering photosensitive users without any warning whatsoever.
Dumping the entire framebuffer results in a high-speed flashing effect when the terminal cannot receive and render the whole buffer correctly.
This problem has existed for _the entire time_ I have used Claude Code and has gotten worse over time as more bells and whistles that cause screen updates have been added without the underlying issue being fixed.
This is easy to reproduce, all you have to do is try to use Claude Code over an SSH connection. Even on a very powerful computer and a very fast local network connection, there is flickering. On slower machines or just lower terminal emulators, the problem will also exist, though that is harder to test. SSH easily sidesteps that testing issue.
Environment Info
- Platform: linux
- Terminal: konsole
- Version: 2.0.76
- Feedback ID: e75e3252-edc1-4dd3-8d5d-490d15499055
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 217840 tokens > 200000 maximum\"},\"request_id\":\"req_011CWf5cDx6Pnp459qgRtme6\"}\n at F9.generate (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:510:11051)\n at OT.makeStatusError (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:857:2195)\n at OT.makeRequest (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:857:5420)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async SW9.d71.model (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:4593:6345)\n at async d71 (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:1346:19540)\n at async SW9 (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:4593:6499)\n at async file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:4591:3557\n at async d00 (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:1007:2037)\n at async Cd (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:4591:3528)","timestamp":"2025-12-31T16:28:16.807Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 203262 tokens > 200000 maximum\"},\"request_id\":\"req_011CWf5d1ARfMiAHYNiCejRW\"}\n at F9.generate (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:510:11051)\n at OT.makeStatusError (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:857:2195)\n at OT.makeRequest (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:857:5420)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async SW9.d71.model (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:4593:6345)\n at async d71 (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:1346:19540)\n at async SW9 (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:4593:6499)\n at async file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:4591:3557\n at async d00 (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:1007:2037)\n at async Cd (file:///nix/store/q3bc0ph9pxsvqvbrd1h2rfs2paw6qjkf-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:4591:3528)","timestamp":"2025-12-31T16:28:27.326Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗