28

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 ?

Benjamin Tan Wei Hao
  • 9,621
  • 3
  • 30
  • 56

2 Answers2

41

Are you on a Mac? You could try Command+K. That usually works for me.

jboursiquot
  • 1,261
  • 11
  • 8
39

As José Valim said, you can call clear inside iex.

    iex> h clear/0
    * def clear()

    Clear the console screen.
irio
  • 1,401
  • 14
  • 11