Skip to content
Snippets Groups Projects
Commit fdec978a authored by judah's avatar judah
Browse files

Better docs for the new getInputLine behavior.

parent 1c126506
No related branches found
Tags 0_6_1
No related merge requests found
......@@ -255,10 +255,10 @@ withReposition tops prefix s f = do
{- | Reads one character of input. Ignores non-printable characters.
If stdin is a terminal, then the character will be read without waiting for a newline.
If stdin is a terminal, the character will be read without waiting for a newline.
If stdin is not a terminal, then 'getInputChar' will read a newline if one
is immediately available after the input character.
If stdin is not a terminal, a newline will be read if it is immediately
available after the input character.
-}
getInputChar :: MonadException m => String -- ^ The input prompt
-> InputT m (Maybe Char)
......
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