diff options
-rw-r--r-- | main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ #include <vector> #include <string> #include <unordered_map> +#include <unistd.h> #include <cstdlib> #include <array> #include <cctype> @@ -251,7 +252,7 @@ int main(int argc,char **argv){ world.print(); for(int i=0;i<C::autoTimeout;i++){ world.tick(); - cin.get(); + usleep(3000); cout<<"\x1B[2J\x1B[H"; world.print(); } |