claude-code - 💡(How to fix) Fix [BUG][WSL2] Paste broken at OAuth prompt in v2.1.105 (regression from v2.1.104) [3 comments, 4 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47725Fetched 2026-04-15 06:44:02
View on GitHub
Comments
3
Participants
4
Timeline
21
Reactions
6
Timeline (top)
cross-referenced ×9labeled ×5commented ×3subscribed ×3

Error Message

Error Messages/Logs

Fix Action

Fix / Workaround

Version: 2.1.105 OS: Windows 11 with WSL2 Terminal: Windows Terminal Issue: Paste (Ctrl+V and right-click) stops working at the OAuth Paste code here if prompted > prompt after upgrading from 2.1.104 Workaround: Rolling back to 2.1.104 restores paste functionality

RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

What's Wrong?

Version: 2.1.105 OS: Windows 11 with WSL2 Terminal: Windows Terminal Issue: Paste (Ctrl+V and right-click) stops working at the OAuth Paste code here if prompted > prompt after upgrading from 2.1.104 Workaround: Rolling back to 2.1.104 restores paste functionality

What Should Happen?

Paste (Ctrl+V and right-click) should work at the OAuth authentication prompt "Paste code here if prompted >"

Error Messages/Logs

Steps to Reproduce

Install Claude Code v2.1.105 on Windows with WSL2 Run claude in a WSL2 terminal Complete the browser OAuth flow and copy the authentication code At the Paste code here if prompted > prompt, attempt to paste with Ctrl+V or right-click Paste does not work — no text appears and the prompt remains empty

Claude Model

Other

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.104

Claude Code Version

2.1.105

Platform

Other

Operating System

Other

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

Paste works normally in all other terminal prompts and applications, including other WSL2 terminal windows. The issue is isolated specifically to the Claude Code OAuth prompt. Rolling back to v2.1.104 via npm install -g @anthropic-ai/[email protected] restores paste functionality immediately.

extent analysis

TL;DR

The issue can likely be resolved by downgrading to version 2.1.104, as the paste functionality works normally in this version.

Guidance

  • Verify that the issue is specific to the Claude Code OAuth prompt by checking if paste works in other terminal prompts and applications.
  • Attempt to reproduce the issue with a clean installation of Claude Code v2.1.105 to rule out any configuration or environment-specific issues.
  • Check if there are any known issues or open tickets related to paste functionality in the Claude Code repository.
  • Consider reporting the issue to the Claude Code maintainers, as it appears to be a regression introduced in version 2.1.105.

Notes

The issue seems to be specific to the Claude Code OAuth prompt and WSL2 terminal, and rolling back to version 2.1.104 restores the paste functionality. However, without more information or error logs, it's difficult to provide a more specific fix.

Recommendation

Apply workaround: Downgrade to version 2.1.104, as it has been confirmed to resolve the issue. This is a temporary solution until the issue is fixed in a future version of Claude Code.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING