on master help sign in
Vty: update stale docstrings (fixes #150)
commitadc4d70eeac890986a6352658c6ee3357b80cdeb authorJonathan Daugherty <cygnus@foobox.com> dateMon 19 Mar 2018, 15:10 (9 years ago) parent6f4edc0
1 file changed+4−7
src/Graphics/Vty.hs+4−7
src/Graphics/Vty.hs+4−7
@@ -78,18 +78,15 @@ import Data.Semigroup ((<>))
7878data Vty = Vty
7979 { -- | Outputs the given 'Picture'.
8080 update :: Picture -> IO ()
81− -- | Get one 'Event' object, blocking if none are available. This
82− -- will refresh the terminal if the event is a 'EvResize'.
81+ -- | Return the next 'Event' or block until one becomes available.
8382 , nextEvent :: IO Event
8483 -- | The input interface. See 'Input'.
8584 , inputIface :: Input
8685 -- | The output interface. See 'Output'.
8786 , outputIface :: Output
88− -- | Refresh the display. 'nextEvent' will refresh the display if
89− -- a resize occurs, but this can be used to refresh the display
90− -- explicitly. If other programs output to the terminal and mess
91− -- up the display then the application might want to force a
92− -- refresh using this function.
87+ -- | Refresh the display. If other programs output to the terminal
88+ -- and mess up the display then the application might want to
89+ -- force a refresh using this function.
9390 , refresh :: IO ()
9491 -- | Clean up after vty. A call to this function is necessary to
9592 -- cleanly restore the terminal state before application exit. The