Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy & Paste results in duplicated characters #38

Closed
DevSecNinja opened this issue Apr 1, 2018 · 3 comments
Closed

Copy & Paste results in duplicated characters #38

DevSecNinja opened this issue Apr 1, 2018 · 3 comments

Comments

@DevSecNinja
Copy link

I'm using the Azure Serial Console to create a new AD Domain with PowerShell. So basically, I've opened up a CMD session and in that CMD session, I've opened a PowerShell session.

When I copy the following command into the console:
Install-windowsfeature AD-domain-services

It actually adds an extra "l" to the cmdlet, like:
Installl-windowsfeature AD-domain-services

I'm using Chrome (Version 65.0.3325.181 (Official Build) (64-bit)) with the paste functionality of Chrome. Paste as plain-text does not make any difference.

Let me know if you need more info. Happy to help!

image

@cloudbooster
Copy link
Contributor

Thanks @jvravensberg can you please try remove-module psreadline and then try again. We are actively investigating this issue, but the above seems to have helped.

Also can you confirm the OS version of Windows that you are using?

@DevSecNinja
Copy link
Author

Thanks for the help @harijayms! Yes, that seems to work. Of course the CMDlet colors are gone now, but that fixed the issue with the double characters:
image

(Typo after 'servicesf' was on purpose)

I'm using Windows 10 v1709 (16299.309).

@jaapbrasser
Copy link

You could also try using CTRL V instead of right clicking. Does that make any difference, keeping psreadline enabled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants