On GHCi prompt the arrow (movement) keys create strange character sequences
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?
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | GHCi |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |