summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora14m <[email protected]>2021-02-11 15:13:20 +0100
committera14m <[email protected]>2021-02-11 15:13:20 +0100
commit0d11b40e430e57f449d56c874464dbeec20b106a (patch)
tree8d468c2b31254eaa9f7f4bb541cb5228aa33a99e
parentc8c6c4673f1b009752b761dead4724131d89cdf5 (diff)
Show the banner on a separate line for better readability
-rw-r--r--CLI/ruby/lib/game_of_life.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/CLI/ruby/lib/game_of_life.rb b/CLI/ruby/lib/game_of_life.rb
index b1a95f1..cb122cb 100644
--- a/CLI/ruby/lib/game_of_life.rb
+++ b/CLI/ruby/lib/game_of_life.rb
@@ -112,7 +112,7 @@ module GameOfLife
# Ref: https://superuser.com/questions/122911/what-commands-can-i-use-to-reset-and-clear-my-terminal
print "\e[?1049h\e[H"
print universe.to_s
- print BANNER
+ print "\n #{BANNER}"
sleep(DELAY / 1000.0)
end
end