Skip to content

[BUG] claude login paste not working in code input field (regression in 2.1.105+) #47799

Description

@dogyunhan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions