logo       

Re: [GHC] #831: GHCi user interface bug: msg#00066

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #831: GHCi user interface bug

#831: GHCi user interface bug
----------------------+-----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: low | Milestone:
Component: GHCi | Version: 6.4.2
Severity: minor | Resolution:
Keywords: | Os: Windows
Difficulty: Unknown | Architecture: x86
----------------------+-----------------------------------------------------
Comment (by guest):

(WikiFormatting fixes)

GHCi can do some weird things, with the letter g and the up arrow:

> ghci
ghci> :m Control.Concurrent
ghci> threadDelay 5000000
(now, while thread delay is running, press the up arrow once)
(once the computation has returned, the following will be on the line)
(i.e. you don't type threadDelay again)
ghci> threadDelay 5000000
(now just press enter)

<interactive>:1:0: Not in scope: `ghreadDelay'

This works for any computation that runs long enough for the user to press
up while its still going. The result is always a g replacing the first
letter - I have had gain for main etc. And the buffer always appears
correct to visual inspection.

--
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/831>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise