Control: tags -1 + moreinfo

Hi Richard,

On Tue, Nov 29, 2016 at 07:59PM, Richard Smith wrote:
> Since upgrading to ghc 8.0.1, when trying to backspace user-entered text 
> (e.g. a getLine event) in a
> running haskell program (whether compiled with this version of ghc, or 
> interpreted), the terminal
> displays "^?" for backspace, "^[[3~" for delete and other codes for arrow 
> keys.

This is the indented behavior of getLine. It has always been like this,
and didn't change with ghc v8.0.1.

> It appears to be previously reported, and resolved, here: 
> https://ghc.haskell.org/trac/ghc/ticket/2606

Please see comments 19 to 22 from the above ticket. They describe how
getLine is supposed to work, and how to get the indented results using
haskeline instead.

Does the above resolve your issue?

-- 
Ilias

_______________________________________________
Pkg-haskell-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-haskell-maintainers

Reply via email to