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

GHC ghc-devs at haskell.org
Sat Oct 10 18:08:53 UTC 2015


#10956: Allow default keyboard behavior to be easily overriden
-------------------------------------+-------------------------------------
           Reporter:                 |             Owner:
  BalinKingOfMoria                   |
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:
          Component:  Runtime        |           Version:  7.8.3
  System                             |
           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:
-------------------------------------+-------------------------------------
 If I press the up or down arrow keys, GHC kicks in and makes it so that
 the last line of text comes back instead of letting me intercept the arrow
 key. From what I have seen, you need third-party libraries to override the
 default behavior, but when would a user actually want that behavior in an
 application instead of letting the programmer handle it? Can there be a
 switch (like a special LANGUAGE pragma or whatever) to enable raw input
 capture?
 Console text editing applications are greatly hindered by this automatic
 behavior.

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


More information about the ghc-tickets mailing list