aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2016-12-11 13:22:57 +0100
committerAdrian Kummerlaender2016-12-11 13:22:57 +0100
commit245d40cb5618aa7c12d9109bc45e817be8d0e7b8 (patch)
tree59f7a176af636302eae472a55834a3ed60c0aa07
parente79456ef9c17aa7e838755b0e8ef0c4f85012a07 (diff)
downloadtermlife-245d40cb5618aa7c12d9109bc45e817be8d0e7b8.tar
termlife-245d40cb5618aa7c12d9109bc45e817be8d0e7b8.tar.gz
termlife-245d40cb5618aa7c12d9109bc45e817be8d0e7b8.tar.bz2
termlife-245d40cb5618aa7c12d9109bc45e817be8d0e7b8.tar.lz
termlife-245d40cb5618aa7c12d9109bc45e817be8d0e7b8.tar.xz
termlife-245d40cb5618aa7c12d9109bc45e817be8d0e7b8.tar.zst
termlife-245d40cb5618aa7c12d9109bc45e817be8d0e7b8.zip
Move world age to top
-rw-r--r--life.cc4
1 files 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();
}