[GHC] #13210: Can't run terminfo code in GHCi on Windows