[Bug] High CPU usage on terminal window resize events
Resolved 💬 3 comments Opened Jan 27, 2026 by spencerduncan Closed Jan 30, 2026
Bug Description
Claude Code uses a large amount of CPU anytime the terminal emulator window is resized. This is quite obnoxious when using i3wm. It is possible that the issue is related to the instantaneous change in window size.
Environment Info
- Platform: linux
- Terminal: kitty
- Version: 2.1.7
- Feedback ID: f6b08b8b-8fdd-4708-9ed8-1ba732b1d117
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/sd/.local/share/claude/versions/2.1.7 (expected in multi-process scenarios)\n at eP$ (/$bunfs/root/claude:3165:2157)\n at rTA (/$bunfs/root/claude:3165:1268)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T04:20:23.814Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 127\n at <anonymous> (/$bunfs/root/claude:2382:21461)\n at emit (node:events:98:22)\n at #handleOnExit (node:child_process:520:14)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T04:20:23.910Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗