From 245d40cb5618aa7c12d9109bc45e817be8d0e7b8 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 11 Dec 2016 13:22:57 +0100 Subject: Move world age to top --- life.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/life.cc b/life.cc index 5e9b52c..847fe14 100644 --- a/life.cc +++ b/life.cc @@ -38,8 +38,8 @@ void draw( } } - print_tb(x+1, y+21, TB_WHITE, TB_DEFAULT, "Age:"); - print_tb(x+6, y+21, TB_WHITE, TB_DEFAULT, std::to_string(world.getAge())); + print_tb(1, 1, TB_WHITE, TB_DEFAULT, "Age:"); + print_tb(6, 1, TB_WHITE, TB_DEFAULT, std::to_string(world.getAge())); tb_present(); } -- cgit v1.2.3