Problem while pasting code into ghci
In X, when pasting text into the ghci console, many characters are lost. This is not happening for other similar console reading programs (for instance MySQL console). It does not seem to depend on the terminal program (I've tested with gnome-terminal, konsole and xterm).
If I copy-paste the following text (either by clicking on the middle button of the mouse or by calling the paste function of the terminal program):
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
I got this in ghci (my prompt is: λ> ):
λ> 1234567890
1234567890
λ>
λ> 0
0
λ> 90
90
λ> 890
890
λ> 7890
7890
λ> 67890
67890
λ> 567890
567890
λ> 4567890
4567890
λ> 34567890
It's as if the input was not consumed fast enough...
Trac metadata
Trac field | Value |
---|---|
Version | 7.0.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |