27

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,515
  • 3
  • 29
  • 53

2 Answers2

38

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

jboursiquot
  • 1,231
  • 10
  • 8
38

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

    iex> h clear/0
    * def clear()

    Clear the console screen.
irio
  • 1,391
  • 13
  • 11