[Bug] Severe input latency in VS Code terminal with Claude Code queued comments
Resolved 💬 3 comments Opened Nov 26, 2025 by joeschmoe12345 Closed Nov 30, 2025
Bug Description
Long delays for UI to respond when trying to type into VS Code terminal to queue comments for Claude Code. Long delays when responding to ESC key pressed
Environment Info
- Platform: win32
- Terminal: vscode
- Version: 2.0.53
- Feedback ID: e90a36da-197b-479a-9a85-0ab6dd1bc1e1
Errors
[{"error":"AbortError: The operation was aborted\n at abortChildProcess (node:child_process:749:27)\n at AbortSignal.onAbortListener (node:child_process:819:7)\n at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n at runAbort (node:internal/abort_controller:486:10)\n at abortSignal (node:internal/abort_controller:457:3)\n at AbortController.abort (node:internal/abort_controller:505:5)\n at Timeout._onTimeout (file:///C:/Users/unive/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4526:11918)\n at listOnTimeout (node:internal/timers:588:17)\n at process.processTimers (node:internal/timers:523:7)","timestamp":"2025-11-25T22:57:23.993Z"},{"error":"Error: Failed to create shell snapshot: Command failed: C:\\Program Files\\Git\\bin\\bash.exe -c -l SNAPSHOT_FILE='C:\\Users\\unive\\.claude\\shell-snapshots\\snapshot-bash-1764111427346-cp8jxi.sh'\n source \"C:\\Users\\unive\\.bashrc\" < /dev/null\n\n # First, create/clear the snapshot file\n echo \"# Snapshot file\" >| \"$SNAPSHOT_FILE\"\n\n # When this file is sourced, we first unalias to avoid conflicts\n # This is necessary because aliases get \"frozen\" inside function definitions at definition time,\n # which can cause unexpected behavior when functions use commands that conflict with aliases\n echo \"# Unset all aliases to avoid conflicts with functions\" >> \"$SNAPSHOT_FILE\"\n echo \"unalias -a 2>/dev/null || true\" >> \"$SNAPSHOT_FILE\"\n\n \n echo \"# Functions\" >> \"$SNAPSHOT_FILE\"\n\n # Force autoload all functions first\n declare -f > /dev/null 2>&1\n\n # Now get user function names - filter system ones and give the rest to eval in b64 encoding\n declare -F | cut -d' ' -f3 | grep -vE '^(_|__)' | while read func; do\n # Encode the function to base64, preserving all special characters\n encoded_func=$(declare -f \"$func\" | base64 )\n # Write the function definition to the snapshot\n echo \"eval \\\"\\$(echo '$encoded_func' | base64 -d)\\\" > /dev/null 2>&1\" >> \"$SNAPSHOT_FILE\"\n done\n \n echo \"# Shell Options\" >> \"$SNAPSHOT_FILE\"\n shopt -p | head -n 1000 >> \"$SNAPSHOT_FILE\"\n set -o | grep \"on\" | awk '{print \"set -o \" $1}' | head -n 1000 >> \"$SNAPSHOT_FILE\"\n echo \"shopt -s expand_aliases\" >> \"$SNAPSHOT_FILE\"\n \n echo \"# Aliases\" >> \"$SNAPSHOT_FILE\"\n # Filter out winpty aliases on Windows to avoid \"stdin is not a tty\" errors\n # Git Bash automatically creates aliases like \"alias node='winpty node.exe'\" for\n # programs that need Win32 Console in mintty, but winpty fails when there's no TTY\n if [[ \"$OSTYPE\" == \"msys\" ]] || [[ \"$OSTYPE\" == \"cygwin\" ]]; then\n alias | grep -v \"='winpty \" | sed 's/^alias //g' | sed 's/^/alias -- /' | head -n 1000 >> \"$SNAPSHOT_FILE\"\n else\n alias | sed 's/^alias //g' | sed 's/^/alias -- /' | head -n 1000 >> \"$SNAPSHOT_FILE\"\n fi\n \n\n \n # Check for rg availability\n echo \"# Check for rg availability\" >> \"$SNAPSHOT_FILE\"\n echo \"if ! command -v rg >/dev/null 2>&1; then\" >> \"$SNAPSHOT_FILE\"\n echo ' alias rg='\"''\\''C:\\Users\\unive\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\vendor\\ripgrep\\x64-win32\\rg.exe'\\'''\" >> \"$SNAPSHOT_FILE\"\n echo \"fi\" >> \"$SNAPSHOT_FILE\"\n \n\n # Add PATH to the file\n echo \"export PATH=\\$PATH\" >> \"$SNAPSHOT_FILE\"\n \n\n # Exit silently on success, only report errors\n if [ ! -f \"$SNAPSHOT_FILE\" ]; then\n echo \"Error: Snapshot file was not created at $SNAPSHOT_FILE\" >&2\n exit 1\n fi\n \n\n at file:///C:/Users/unive/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗