How to clear screen in iex?

前端 未结 2 806
小鲜肉
小鲜肉 2021-01-07 17:17

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

相关标签:
2条回答
  • 2021-01-07 17:44

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

    0 讨论(0)
  • 2021-01-07 17:50

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

        iex> h clear/0
        * def clear()
    
        Clear the console screen.
    
    0 讨论(0)
提交回复
热议问题