[GHC] #11695: On GHCi prompt the arrow (movement) keys create strange character sequences
GHC
ghc-devs at haskell.org
Thu Mar 10 13:47:57 UTC 2016
#11695: On GHCi prompt the arrow (movement) keys create strange character sequences
--------------------------------------+---------------------------------
Reporter: heisenbug | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 8.1
Keywords: | Operating System: Linux
Architecture: x86_64 (amd64) | Type of failure: None/Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
--------------------------------------+---------------------------------
Fire up `GHCi` and sit on the arrow down (or left) keys. This is what I
get after constantly pressing for some time:
{{{
$ ghci
GHCi, version 8.1.20160202: http://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from /home/ggreif/.ghci
Prelude> OBOBOBBOBOBOBOBOBOBOBCOCCOCOCCOCCOC
<interactive>:1:1: error:
Data constructor not in scope: OBOBOBBOBOBOBOBOBOBOBCOCCOCOCCOCCOC
}}}
When such a strange letter appears, there is also a blinking of the
terminal.
It is not happening on Windows. I have seen it on RHEL5 and RHEL6.
Pretty annoying, especially when you want to quickly navigate in the repl.
This is probably a `haskeline` bug, but I am coming here to see whether
others suffer from it too, i.e. is it reproducible for elseone?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11695>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list