AlecAivazis / survey

A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
MIT License
4.08k stars 351 forks source link

Windows/Survey/input: copy-pasting a value from clipboard in Windows 10 for Input prompt does not paste #315

Open saurabhaditya opened 3 years ago

saurabhaditya commented 3 years ago

What operating system and terminal are you using? Windows 10 Powershell

An example that showcases the bug. Ask for a prompt for input, copy using Ctrl-c, and paste using Ctrl-v. The value is pasted in the regular Powershell prompt, but not pasted in the Survey input prompt.

What did you expect to see? expected for the value to be pasted in the survey input prompt as well.

What did you see instead? Nothing got pasted or shown.