[Haskell-cafe] ghci REPL output under Haskell Platform on Mac OS X
Henning Thielemann
lemming at henning-thielemann.de
Sun Nov 1 16:05:45 EST 2009
Mark Lentczner schrieb:
> My ghci installation has a very annoying behavior: When it takes input,
> the result is displayed on the same line as the input, overwriting the
> prompt and input. Viz.:
>
> [1015] : ghci
> GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer ... linking ... done.
> Loading package base ... linking ... done.
> 7relude> 3 + 4
> Prelude>
>
> Note the 7 that overwrites the P in Prelude.
>
> I have had several prior versions of ghci installed, most recently
> 6.10.1, and they never had this problem. (In other words, I saw:
>
> Prelude> 3 + 4
> 7
> Prelude>
I had a similar problem with Haskeline and an too old version of
terminfo. I assume Haskeline is used by your GHC instead of readline.
Now I'm using self-compiled ghci-haskeline.
More information about the Haskell-Cafe
mailing list