Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data EventPriority
- viewportHack :: IO Viewport
- withEvThread :: Consumer Event IO () -> Vty -> VgrepT s IO a -> VgrepT s IO a
- withVty :: (Vty -> IO a) -> IO a
- withVgrepVty :: (Vty -> VgrepT s IO a) -> VgrepT s IO a
- withTty :: (Fd -> IO a) -> IO a
- withVgrepTty :: (Fd -> VgrepT s IO a) -> VgrepT s IO a
- tty :: IO Fd
Documentation
data EventPriority Source #
withTty :: (Fd -> IO a) -> IO a Source #
Passes two file descriptors for read and write access to /dev/tty
to
the action, and closes them after the action has finished.