In irb
and many other interactive shells, I can do a Ctrl+L to clear the screen.
What's the equivalent in Elixir's iex
?
In irb
and many other interactive shells, I can do a Ctrl+L to clear the screen.
What's the equivalent in Elixir's iex
?
Are you on a Mac? You could try Command+K. That usually works for me.
As José Valim said, you can call clear
inside iex.
iex> h clear/0
* def clear()
Clear the console screen.