Cannot paste text into git input #4937

Closed
opened 2026-01-31 00:01:06 +00:00 by claunia · 4 comments
Owner

Originally created by @sitefinitySDK on GitHub (Nov 12, 2019).

Originally assigned to: @DHowett-MSFT on GitHub.

Environment

Windows build number: Version 10.0.18363.449
Windows Terminal version (if applicable): Version: 0.6.2951.0

Any other software? Git for Windows 2.24.0
Powershell core 6.2.3

Steps to reproduce

I am using WT with PSC. Inside it, I issue git push command. It require me to input account and password. Instead of typing them manually, I tried to paste the password.

I tried two things:

  1. using the right mouse button
  2. using Ctrl-V

Expected behavior

I expect that the password text would be pasted and accepted by git command

Actual behavior

Nothing happens. git does not receive the pasted text.

Please note, I verified that I can paste text inside WT itself. Both right mouse button and Ctrl-V options worked. The issue is somewhere in the interaction of WT, PSC, and git. If I am using CMD only or PSC only, I can successfully paste the text and git accepts the input.

Originally created by @sitefinitySDK on GitHub (Nov 12, 2019). Originally assigned to: @DHowett-MSFT on GitHub. # Environment ```none Windows build number: Version 10.0.18363.449 Windows Terminal version (if applicable): Version: 0.6.2951.0 Any other software? Git for Windows 2.24.0 Powershell core 6.2.3 ``` # Steps to reproduce I am using WT with PSC. Inside it, I issue `git push` command. It require me to input account and password. Instead of typing them manually, I tried to paste the password. I tried two things: 1. using the right mouse button 2. using Ctrl-V # Expected behavior I expect that the password text would be pasted and accepted by `git` command # Actual behavior Nothing happens. `git` does not receive the pasted text. Please note, I verified that I can paste text inside WT itself. Both right mouse button and Ctrl-V options worked. The issue is somewhere in the interaction of WT, PSC, and git. If I am using CMD only or PSC only, I can successfully paste the text and git accepts the input.
claunia added the Resolution-Duplicate label 2026-01-31 00:01:06 +00:00
Author
Owner

@celsojr commented on GitHub (Nov 15, 2019):

This seems to be an OS line ending issue (CRLF). Please try this small tool before you paste yuor credential contents and let me know if it works for you.

https://github.com/celsojr/p2u

@celsojr commented on GitHub (Nov 15, 2019): This seems to be an OS line ending issue (CRLF). Please try this small tool before you paste yuor credential contents and let me know if it works for you. https://github.com/celsojr/p2u
Author
Owner

@DHowett-MSFT commented on GitHub (Nov 18, 2019):

If it's a line ending issue, this seems like a /dup of #1091.

@DHowett-MSFT commented on GitHub (Nov 18, 2019): If it's a line ending issue, this seems like a /dup of #1091.
Author
Owner

@ghost commented on GitHub (Nov 18, 2019):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Nov 18, 2019): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@DHowett-MSFT commented on GitHub (Nov 18, 2019):

Thanks!

@DHowett-MSFT commented on GitHub (Nov 18, 2019): Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4937