#3062: Adding a ":clear" clear-screen command to GHCi
------------------------------+---------------------------------------------
Reporter: porges | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 6.11
Severity: normal | Resolution:
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
------------------------------+---------------------------------------------
Comment (by judah):
You can use ghci macros to do this:
http://haskell.org/haskellwiki/GHC/GHCi
Add the following line to your `~/.ghci` file:
{{{
:def clear \_ -> return $ ":!clear"
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3062#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs