readline -package:gi-glib
Read in a line from
stdin
Returns
Nothing if at end of input
Not on Stackage, so not searched.
An interface to the GNU readline library
Deprecated: (Since version 1.38)
Line reader. The line reader history is not stored between sessions.
readline prompt: Read (multi-line) input from the user with
rich editing abilities. Takes the prompt text as an argument. The full
prompt is the combination of the given prompt and the prompt marker
(
"> " by default) . See also
readlineEx,
readlineMaybe,
enableMultiline, and
setPromptMarker.
readlineEx prompt mbCompleter mbHighlighter: as
readline but uses the given
mbCompleter function to
complete words on
tab (instead of the default completer). and
the given
mbHighlighter function to highlight the input
(instead of the default highlighter). See also
readline and
readlineExMaybe.
As
readline but returns
Nothing on end-of-file or other
errors (ctrl-C/ctrl-D).
readlinePrim prompt mbCompleter mbHighlighter: as
readline but uses the given
mbCompleter function to
complete words on
tab (instead of the default completer). and
the given
mbHighlighter function to highlight the input
(instead of the default highlighter). See also
readlineEx and
readlinePrimMaybe.
Not on Stackage, so not searched.
Readline effect for in-other-words.
Not on Stackage, so not searched.
Readline with variables (setX/getY) wrapped in state vars
Reads a line from the data input stream. Note that no encoding checks
or conversion is performed; the input is not guaranteed to be UTF-8,
and may in fact have embedded NUL characters.
If
cancellable is not
Nothing, then the
operation can be cancelled by triggering the cancellable object from
another thread. If the operation was cancelled, the error
IOErrorEnumCancelled will be returned.