Portability | non-portable (unix-specific at the moment) |
---|---|
Stability | experimental |
Maintainer | libraries@haskell.org |
Safe Haskell | None |
System.Console.SimpleLineEditor
Description
A simple line editor, using the GNU readline library if available, or a small emulation otherwise.
Documentation
initialise :: IO ()Source
Set up the environment so that the terminal passes characters directly into the Haskell program, for immediate interpretation by the line editor.
Restore the environment so that the terminal is usable in normal mode once again.