[GHC] #10956: Allow default keyboard behavior to be easily overriden

GHC ghc-devs at haskell.org
Sat Oct 10 18:54:20 UTC 2015


#10956: Allow default keyboard behavior to be easily overriden
-------------------------------------+-------------------------------------
        Reporter:  BalinKingOfMoria  |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  7.8.3
      Resolution:                    |             Keywords:  io input raw
Operating System:  Windows           |         Architecture:  x86_64
 Type of failure:  Incorrect result  |  (amd64)
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 Since this is on Windows, I wouldn't put it past the console to do this
 whenever the terminal is in cooked mode (or Windows equivalent). Maybe you
 just want `hSetBuffering stdin NoBuffering`? That would put the terminal
 in raw mode on non-Windows systems, but apparently it doesn't work on
 Windows, see #2189.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10956#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list