How to clear screen in iex?

前端 未结 2 828
小鲜肉
小鲜肉 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条回答
  •  猫巷女王i
    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.
    

提交回复
热议问题