Problem with powershell
Platform: Windows 10 Terminal software Powershell version 5 and 7
Describe the problem you are observing.
Steps to reproduce
- Run the example from the readme.
- Observe that it has problems
Screenshots/Screencaptures
It doesn't take any output and even ctrl+C and ctrl+D don't work quickly. It prints Event: Err(Custom { kind: Other, error: "The cursor position could not be read within a normal duration" }) and prints ansi codes like [50;1R.
It doesn't happen in a system with windows 10 build 22H2 and build 22H1, but happens in a system with windows 10 build 2004, so it might be a windows bug but I would like to know the cause of it and if there is any workaround.
With which terminal are you running Powershell? The older cmd style conhost.exe or the newer Windows Terminal?
(I personally only have the newer Win10 build available, so a bit tricky for me to jump in with a reproduction)
The problem happens with both, but Windows Terminal + WSL instead of powershell is fine.