Clear screen before running koans

This commit is contained in:
Uku Taht
2016-03-12 16:36:41 +02:00
parent a212f674e0
commit 236bc55ba8
2 changed files with 2 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ defmodule Runner do
end
def run(start_module) do
Display.clear_screen()
start_idx = Enum.find_index(@modules, &(&1 == start_module))
Enum.drop(@modules, start_idx)
|> Enum.take_while(fn(mod) ->