Haskell terminal emulator