aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 0412487..99ba3f7 100644
--- a/main.cpp
+++ b/main.cpp
@@ -265,7 +265,7 @@ int main(int argc,char **argv){
}
}
- sb=new ScreenBuffer(SIZE*3,SIZE);
+ sb=new ScreenBuffer(SIZE*3, SIZE+1);
#ifndef _WIN32
signal(SIGINT,signalHandler);
#endif
@@ -274,6 +274,7 @@ int main(int argc,char **argv){
usleep(3000);
world.tick();
world.print(*sb);
+ sb->mvprintf(0, SIZE, "step: %5i", i);
sb->draw();
}
delete sb;