Skip to content
Snippets Groups Projects
Commit 2884da5b authored by Reuben Thomas's avatar Reuben Thomas
Browse files

[project @ 2000-05-15 11:18:58 by rrt]

Reversed some formatting changes to make more similar to last version that
worked (currently seems not to work on Windows or Linux).
parent db85c907
No related branches found
No related tags found
No related merge requests found
......@@ -31,9 +31,13 @@ main = do
speakString = "Someone wants to speak with you\n"
speak cd = do
ready <- hReady cd
if ready then hGetChar cd >>= putChar else return ()
ready <- hReady stdin
if ready then (do { ch <- getChar; hPutChar cd ch}) else return ()
(do
ready <- hReady cd
if ready then
hGetChar cd >>= putChar
else
return ()
ready <- hReady stdin
if ready then (do { ch <- getChar; hPutChar cd ch})
else return ())
speak cd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment