Hi,<br><br>is there a version of getChar that doesn't buffer keyboard input until enter is pressed?<br><br>specialReadln :: IO String<br>specialReadln = do c $B"+(B getChar<br> if c == '#'<br> then do return []<br>
else do cs $B"+(B specialReadln<br> return (c:cs)<br><br>I want the input process to terminate when '#' or any other specific key has been pressed.<br><br>Best Regards,<br>
Cetin Sert<br>