on master help sign in
Update Interactive.idr

tried to improve the doc comment again

commit1a59ed1a8ec786fb72fc85803ef28d3493f3e4c3 authorCarsten König <Carsten@gettingsharper.de> dateWed 19 Oct 2016, 16:02 (10 years ago) parentf1a95f9
1 file changed+5−5
libs/prelude/Prelude/Interactive.idr+5−5
libs/prelude/Prelude/Interactive.idr+5−5
@@ -89,13 +89,13 @@ putCharLn c = putStrLn (singleton c)
8989getChar : IO Char
9090getChar = map cast $ foreign FFI_C "getchar" (IO Int)
9191
92−||| Disables buffering in both stdin and stdout
93−||| so that output is written immediately, and never stored in the buffer
92+||| Disables buffering in both stdin and stdout:
93+||| so that output is written immediately (never stored in the buffer)
9494||| and the next input item is read and returned
9595|||
96−||| this is useful to circumvent problem with IO on some Windows system
97−||| where stdout output sometimes is only shown after prompted input from
98−||| stdin
96+||| this is useful to circumvent problems with IO on some Windows systems
97+||| where stdout output right before a prompt is only shown after
98+||| the input-line from stdin is produced
9999disableBuffering : IO ()
100100disableBuffering = foreign FFI_C "idris_disableBuffering" (IO ())
101101