From 76d9d3f75a45ebb2e71b5a800a0ecb7f213cf7a4 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Mon, 29 Apr 2024 11:07:56 +0200 Subject: [PATCH] calm down --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cpp b/main.cpp index 19c6512..595272d 100644 --- a/main.cpp +++ b/main.cpp @@ -18,10 +18,13 @@ int main() { client.sendMessage("point;start;ready;1"); + std::thread inputThread(userInputThread); + while (true) { if(stopRequested) { break; } + usleep(1'000'000); } return 0;