#5548: Problem while pasting code into ghci
-----------------------+----------------------------------------------------
Reporter: gawi | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 7.0.2 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: x86 | Failure: Other
-----------------------+----------------------------------------------------
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...
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5548>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs