aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 6db9cd5..736845a 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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();
}