Kites
Kites

Reputation: 1168

How do I clear an elixir shell?

This isn't the most insightful question, but I really want to be able to press Control-L and have the shell iex clear the screen. Any idea how to do this or if there's another elixir shell with this build in?

Upvotes: 4

Views: 1074

Answers (2)

Hécate
Hécate

Reputation: 1035

clear/0 clears the console screen.

Upvotes: 5

Tallboy
Tallboy

Reputation: 13417

You can also use command + k to clear the screen.

Upvotes: 1

Related Questions