[Haskell-cafe] Clear screen in ghci in haskell-mode in emacs?

Chris Smith cdsmith at gmail.com
Sun Jan 30 18:07:17 CET 2011


On Sun, 2011-01-30 at 12:04 -0500, JETkoten wrote:
> I'm looking for a way to clear the screen in ghci within emacs. I saw a 
> feature request from a couple of years back for :clear, but it was 
> deleted saying something along the lines of "Ctrl-L works fine for me". 
> This is true in my system terminal, however, in emacs, Ctrl-L is already 
> bound to something else. Is there a way to clear the ghci screen that 
> doesn't involve Ctrl-L?

On UNIX, :!clear -- I believe the Windows equivalent would be :!cls but
I haven't tried.




More information about the Haskell-Cafe mailing list