on master help sign in
doc use of escape delay parameter

Ignore-this: 4b3243591f966abf790f59354daa0998 darcs-hash:20100907042426-f0a0d-bbc040b27b9357fb35df35a3ff629b9e417622cb.gz

commita3f57da8c68a23de18664b0ae7f830ab18b878b8 authorcoreyoconnor <coreyoconnor@gmail.com> dateMon 6 Sep 2010, 21:24 (16 years ago) parentb3ee829
1 file changed+3
src/Graphics/Vty.hs+3
src/Graphics/Vty.hs+3
@@ -74,6 +74,9 @@ data Vty = Vty
7474mkVty :: IO Vty
7575mkVty = mkVtyEscDelay 0
7676
77+-- | Set up the state object for using vty. At most one state object should be
78+-- created at a time. The delay, in microseconds, specifies the period of time to wait for a key
79+-- following reading ESC from the terminal before considering the ESC key press as a discrete event.
7780mkVtyEscDelay :: Int -> IO Vty
7881mkVtyEscDelay escDelay = do
7982 term_info <- Terminfo.setupTermFromEnv