[GHC] #831: GHCi user interface bug

GHC trac at galois.com
Wed Jul 19 10:45:10 EDT 2006


#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


More information about the Glasgow-haskell-bugs mailing list