@@ -24,14 +24,10 @@
2424-- - <http://vt100.net/docs/vt100-ug/chapter3.html vt100 control sequences>
2525module Graphics.Vty ( Vty(..)
2626 , mkVty
27− , mkVtyEscDelay
27+ , module Graphics.Vty.Input
2828 , module Graphics.Vty.Output
2929 , module Graphics.Vty.Picture
3030 , DisplayRegion
31− , Key(..)
32− , Modifier(..)
33− , Button(..)
34− , Event(..)
3531 )
3632 where
3733
@@ -88,15 +84,8 @@ data Vty = Vty
8884
8985-- | Set up the state object for using vty. At most one state object should be
9086-- created at a time.
91−mkVty :: IO Vty
92−mkVty = mkVtyEscDelay def
93−
94−-- | Set up the state object for using vty. At most one state object should be
95−-- created at a time. The delay, in microseconds, specifies the period of time to wait for a key
96−-- following reading ESC from the terminal before considering the ESC key press as a discrete event.
97−-- \todo move input init into terminal interface
98−mkVtyEscDelay :: Config -> IO Vty
99−mkVtyEscDelay config = do
87+mkVty :: Config -> IO Vty
88+mkVty config = do
10089 input <- input_for_current_terminal config
10190 out <- output_for_current_terminal
10291 intMkVty input out