claude-code - 💡(How to fix) Fix [BUG] claude login paste not working in code input field (regression in 2.1.105+) [12 comments, 12 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#47799Fetched 2026-04-15 06:42:00
View on GitHub
Comments
12
Participants
12
Timeline
31
Reactions
5
Author
Timeline (top)
commented ×12cross-referenced ×6labeled ×6subscribed ×5

Error Message

Error Messages/Logs

Fix Action

Fix / Workaround

Workaround

Downgrade to 2.1.104 (binary is still present after auto-update) ln -sf ~/.local/share/claude/versions/2.1.104 ~/.local/bin/claude

Code Example

None
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?

Description

Pasting the authentication code into the claude login prompt is broken starting from version 2.1.105. Both Ctrl+V and right-click paste do nothing — the input field remains empty and the cursor doesn't move. Manual character-by-character typing still works. Downgrading to 2.1.104 restores paste functionality immediately.

Environment

  • OS: Windows 11 + WSL2 (6.6.87.2-microsoft-standard-WSL2)
  • Terminal: Windows Terminal 1.23.20211.0
  • Shell: bash (xterm-256color)
  • Affected versions: 2.1.105, 2.1.107
  • Working version: 2.1.104

Steps to Reproduce

  1. Run claude login
  2. Complete browser authentication and copy the generated code
  3. Attempt to paste the code into the terminal prompt via Ctrl+V or right-click
  4. Nothing is entered — field stays empty

Expected Behavior

The copied code is pasted into the input field, same as in 2.1.104.

Actual Behavior

Both Ctrl+V and right-click paste are silently ignored. Manual typing is the only way to enter the code.

Additional Notes

  • Paste works normally everywhere else in the same terminal session (e.g. the main Claude Code conversation UI)
  • The issue is confirmed to be a Claude Code regression, not a terminal configuration issue:
    • Setting "bracketedPaste": false in Windows Terminal had no effect
    • WSL2 clipboard bridge (clip.exe) is functioning correctly — powershell.exe -command "Get-Clipboard" returns the expected value from within WSL2
    • Switching the symlink at ~/.local/bin/claude back to 2.1.104 fixes the issue without any other changes

Workaround

Downgrade to 2.1.104 (binary is still present after auto-update) ln -sf ~/.local/share/claude/versions/2.1.104 ~/.local/bin/claude

What Should Happen?

Claude should have users paste code for login

Error Messages/Logs

None

Steps to Reproduce

Just enter the '/login' in the latest version (2.1.105 or 2.1.107), and try to paste the code. It would not work.

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

2.1.104

Claude Code Version

2.1.107

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

No response

extent analysis

TL;DR

Downgrade to version 2.1.104 to restore paste functionality in the Claude login prompt.

Guidance

  • The issue is confirmed to be a Claude Code regression, not a terminal configuration issue, as evidenced by the fact that downgrading to 2.1.104 fixes the issue.
  • To verify the issue, run claude login and attempt to paste the authentication code into the terminal prompt via Ctrl+V or right-click.
  • The provided workaround of downgrading to 2.1.104 using ln -sf ~/.local/share/claude/versions/2.1.104 ~/.local/bin/claude can be used to mitigate the issue.
  • Further investigation into the changes between versions 2.1.104 and 2.1.105 may be necessary to identify the root cause of the regression.

Notes

The issue appears to be specific to the Claude login prompt and does not affect other areas of the application where paste functionality is available.

Recommendation

Apply the workaround by downgrading to version 2.1.104, as it is a confirmed fix for the issue and allows users to paste the authentication code into the login prompt.

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

claude-code - 💡(How to fix) Fix [BUG] claude login paste not working in code input field (regression in 2.1.105+) [12 comments, 12 participants]