Haskeline eats console events when native Windows IO is used.
Summary
Winio bugs out out when:
-GHCup is installed, (8.10.6/7, 9.0.2), HLS, no stack -Haskell Platform is then installed from this site:
https://downloads.haskell.org/~platform/ 8.6.5
Steps to reproduce
Winio bugs out out when:
-GHCup is installed, (8.10.6/7, 9.0.2), HLS, no stack -Haskell Platform is then installed from this site:
https://downloads.haskell.org/~platform/ 8.6.5
Windows 10
Test getChar and getLine
Expected behavior
What do you expect the reproducer described above to do?
getChar will no longer capture the input, immediately echo-ing it to off. getLine will lock up the GHCI (or GHC compiled) instance.
Environment
- GHC version used:
9.0.2 / 8.6.5
Optional:
- Operating System: Windows 10
- System Architecture: AMD64 (with Meltdown mitigation patch)