From fdec978af0874d838c66aae9eb21c94fc4eb874b Mon Sep 17 00:00:00 2001 From: "judah.jacobson" <judah.jacobson@gmail.com> Date: Fri, 6 Feb 2009 20:39:11 +0000 Subject: [PATCH] Better docs for the new getInputLine behavior. --- System/Console/Haskeline.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/System/Console/Haskeline.hs b/System/Console/Haskeline.hs index 78e70fc..b40061e 100644 --- a/System/Console/Haskeline.hs +++ b/System/Console/Haskeline.hs @@ -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) -- GitLab