diff options
-rw-r--r-- | main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |