From 9afe3f0e6737bdda0ee47e85193748043dc639b3 Mon Sep 17 00:00:00 2001 From: fzorb Date: Thu, 8 May 2025 20:35:33 +0300 Subject: [PATCH] add 0.1 delay to output --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index c4d991a..5022d40 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,6 @@ #include #include +#include int main(int argc, char* argv[]) { while (true) { @@ -9,5 +10,6 @@ int main(int argc, char* argv[]) { char options[128]; strftime(output, 50, argv[1], &datetime); std::cout << output << std::endl; + std::sleep(0.1) } }