diff --git a/src/main.cpp b/src/main.cpp index 5022d40..0165dcb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,13 +3,11 @@ #include int main(int argc, char* argv[]) { - while (true) { - time_t timestamp = time(NULL); - struct tm datetime = *localtime(×tamp); - char output[64]; - char options[128]; - strftime(output, 50, argv[1], &datetime); - std::cout << output << std::endl; - std::sleep(0.1) - } + time_t timestamp = time(NULL); + struct tm datetime = *localtime(×tamp); + char output[64]; + char options[128]; + strftime(output, 50, argv[1], &datetime); + std::cout << output << std::endl; + }