GHCI missing new line on Windows WSL 2.0 Debian Environment
Summary
Expressions entered in the GHCI REPL interface do not create a newline character after pressing enter before the output is rendered.
❯ ghci
GHCi, version 9.8.1: https://www.haskell.org/ghc/ :? for help
ghci> 1 + 12
ghci> double x = x + xghci> double 24
ghci>
Steps to reproduce
- Start Alacritty Terminal version 0.11.0 on windows
- Type command Debian to enter WSL environment
- Type GHCI to start the GHCI interpreter.
- Enter any expression and press enter.
Expected behavior
Expected the GHCI interpreter to create a new line character after pressing enter before displaying the output
❯ ghci
GHCi, version 9.8.1: https://www.haskell.org/ghc/ :? for help
ghci> 1 + 1
2
ghci> double x = x + x
ghci> double 2
4
ghci>
Environment
│
│
│
│
│
Optional:
Operating System:
- WSL version: 2.0.9.0
- Kernel version: 5.15.133.1-1
- WSL image: Debian
- WSLg version: 1.0.59
- MSRDC version: 1.2.4677
- Direct3D version: 1.611.1-81528511
- DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
- Windows version: 10.0.19045.4046