[Bug] Terminal locks up in infinite loop when interrupting with Esc during checkpoint restore

Resolved 💬 3 comments Opened Oct 29, 2025 by arevak Closed Nov 2, 2025

Bug Description
Just ran into the flashing issue again where claude code CLI locks you out of the terminal while 'flibbertgibberting' and just loop refreshes while its thinking or whatever ... back just in time for halloween. It was in this session and I believe it happened when I hit Esc to interrupt claude and restore a previous checkpoint.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.0.28
  • Feedback ID: b5c0aece-431f-45f0-8641-32d88a8e357c

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at YD (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1175:4413)\n    at file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1175:4141\n    at Array.map (<anonymous>)\n    at OF (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1175:4132)\n    at YTQ (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1797:6306)\n    at Vw (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:73:19414)\n    at Qo (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:42806)\n    at T9 (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38347)\n    at zc (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38275)\n    at Lw (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38129)","timestamp":"2025-10-29T17:56:06.392Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at YD (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1175:4413)\n    at file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1175:4141\n    at Array.map (<anonymous>)\n    at OF (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1175:4132)\n    at YTQ (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1797:6306)\n    at Vw (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:73:19414)\n    at Qo (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:42806)\n    at T9 (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38347)\n    at zc (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38275)\n    at Lw (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38129)","timestamp":"2025-10-29T17:56:06.434Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at YD (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1175:4413)\n    at file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1175:4141\n    at Array.map (<anonymous>)\n    at OF (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1175:4132)\n    at YTQ (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1797:6306)\n    at Vw (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:73:19414)\n    at Qo (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:42806)\n    at T9 (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38347)\n    at zc (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38275)\n    at Lw (file:///Users/arevak/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38129)","timestamp":"2025-10-29T17:56:06.440Z"}]

View original on GitHub ↗

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