claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Input delay in Claude Code CLI VScode Windows

Open cameronshade opened this issue 1 year ago • 10 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The delay between pressing a key, and the characters rendering in the terminal CLI is >500ms.

What Should Happen?

You type, and the letters appear in the CLI in a reasonable time.

Error Messages/Logs


Steps to Reproduce

Open VScode , launch claude code, type something.

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

1.0.115 (Claude Code)

Claude Code Version

1.0.115 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

Nothing has changed, it appeared out of nowhere overnight. I haven't changed any extensions, claude files, vscode version - nothing.

I have tried;

  • Logging in and out
  • uninstalling and reinstalling
  • rm -rf /.claude/
  • rm-rm /%appdata/code
  • rm -rf %temp%
  • Adding various settings to settings.local file in VScode from online suggestions

If I open claude code in a regular windows powershell window, the delay ceases to exist. It only happens in VScode.

cameronshade avatar Sep 16 '25 12:09 cameronshade

Just realised this is a duplicate - I searched "input delay" "input lag" and never found anything, but this was posted 1hr ago #7694 my bad lads. Lowkey mine is better tho I told you what I have tried and had no success with.

cameronshade avatar Sep 16 '25 12:09 cameronshade

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/7694
  2. https://github.com/anthropics/claude-code/issues/6849
  3. https://github.com/anthropics/claude-code/issues/6884

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Sep 16 '25 12:09 github-actions[bot]

It's a duplicate but with more info keep mine big dawg

cameronshade avatar Sep 16 '25 12:09 cameronshade

I raised #7694, and I think your issue description is more comprehensive. I've noticed that Claude Code has always been quite sluggish in the Windows environment—I've tried it in both the VSCode terminal and the Android Studio terminal, and both were extremely slow. The Windows Terminal combined with Git Bash wasn't exactly smooth either, but it was still usable. Today, however, I found that Claude Code has become so laggy it's practically unusable; as you mentioned, there's a 500-millisecond delay before each character appears on the screen after typing.

zhatlas avatar Sep 16 '25 12:09 zhatlas

I don’t use VSCode, but I’m experiencing a similar problem directly in a standalone Windows PowerShell window. In the past two days, the input delay when running claude has become very severe. This didn’t happen before. The lag is especially noticeable while a task is running — if I pre-type the next command during execution, the keystrokes are heavily delayed.

Masaicker avatar Sep 16 '25 14:09 Masaicker

You just need to roll back the version to npm install -g @anthropic-ai/[email protected] to make it work normally.

chenweilong1022 avatar Sep 16 '25 15:09 chenweilong1022

You just need to roll back the version to npm install -g @anthropic-ai/[email protected] to make it work normally.

Chen my friend you are a G. Thank you. Works how it should now 👍

cameronshade avatar Sep 16 '25 16:09 cameronshade

came here to create a new issue exactly for this reason, I'm having the same exact problem on macOS.

tested both in VSCode and Cursor, the input lag happens in both IDEs

hugodemelo avatar Sep 16 '25 17:09 hugodemelo

closing this, anthropic have assigned someone to fix it - they are asking for clarification from us in https://github.com/anthropics/claude-code/issues/7694 - reply there is best

p.s. Chens suggestion to install previous version fixes it for now.

cameronshade avatar Sep 16 '25 17:09 cameronshade

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Sep 24 '25 14:09 github-actions[bot]