on master help sign in
correct commentary
commitbef2d40fba6574fb8d54ad43b1ab074a102bc9b4 authorCorey O'Connor <corey@ooyala.com> dateWed 22 Jan 2014, 15:30 (13 years ago) parentbbbf971
1 file changed+3
src/Graphics/Vty/Input/Internal.hs+3
src/Graphics/Vty/Input/Internal.hs+3
@@ -101,6 +101,9 @@ add_bytes_to_process block = unprocessed_bytes <>= block
101101emit :: Event -> InputM ()
102102emit event = view event_channel >>= liftIO . flip writeChan event
103103
104+-- There should be two versions of this method:
105+-- 1. using VMIN and VTIME when under the threaded runtime
106+-- 2. emulating VMIN and VTIME in userspace when under the non-threaded runtime.
104107read_from_device :: InputM String
105108read_from_device = do
106109 new_config <- view config_ref >>= liftIO . readIORef