@@ -78,18 +78,15 @@ import Data.Semigroup ((<>))
78data Vty = Vty
78data Vty = Vty
79 { -- | Outputs the given 'Picture'.
79 { -- | Outputs the given 'Picture'.
80 update :: Picture -> IO ()
80 update :: Picture -> IO ()
81− -- | Get one 'Event' object, blocking if none are available. This
81+ -- | Return the next 'Event' or block until one becomes available.
82− -- will refresh the terminal if the event is a 'EvResize'.
83 , nextEvent :: IO Event
82 , nextEvent :: IO Event
84 -- | The input interface. See 'Input'.
83 -- | The input interface. See 'Input'.
85 , inputIface :: Input
84 , inputIface :: Input
86 -- | The output interface. See 'Output'.
85 -- | The output interface. See 'Output'.
87 , outputIface :: Output
86 , 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
87+ -- | Refresh the display. If other programs output to the terminal
91− -- up the display then the application might want to force a
88+ -- and mess up the display then the application might want to
92− -- refresh using this function.
89+ -- force a refresh using this function.
93 , refresh :: IO ()
90 , refresh :: IO ()
94 -- | Clean up after vty. A call to this function is necessary to
91 -- | Clean up after vty. A call to this function is necessary to
95 -- cleanly restore the terminal state before application exit. The
92 -- cleanly restore the terminal state before application exit. The