Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I clear the terminal screen in Haskell?

How can I clear a terminal screen after my user has selected an option from my application's menu?

like image 986
Nubkadiya Avatar asked Mar 18 '10 18:03

Nubkadiya


People also ask

How do I clear the terminal screen?

You can use Ctrl+L keyboard shortcut in Linux to clear the screen. It works in most terminal emulators.

How do I clear the terminal screen in bash?

When using the bash shell, you can also clear the screen by pressing Ctrl + L .

Which control character clears terminal screen in Linux?

We can use the “ESC c” console code to clear the terminal screen. The ASCII value of the escape character is decimal 27.


1 Answers

:! run the shell command
:! cls under windows
:! clear under linux and OS X

like image 113
void Avatar answered Oct 16 '22 16:10

void