skogsbaer / hscurses

ncurses binding for Haskell
http://hackage.haskell.org/package/hscurses
GNU Lesser General Public License v2.1
61 stars 21 forks source link

Read with timeout ,`wtimeout`? #25

Closed sqd closed 9 years ago

sqd commented 9 years ago

Seems that there isn't a binding for wtimeout, so it's impossible to read a char with timeout. (Return the result if one is inputted before timeout, otherwise return an error)

sqd commented 9 years ago

It seems that I have misunderstood the document of timeout until I look into the source. It does need clarification though.