Test simulation run with example pyflix script

This commit is contained in:
Oleg Kalachev
2026-08-28 16:41:01 +03:00
parent 11c5dc5676
commit 42b1685546
3 changed files with 6 additions and 4 deletions
+1
View File
@@ -138,6 +138,7 @@ public:
int available() {
// to implement for Windows, see https://stackoverflow.com/a/71992965/6850197
if (!isatty(STDIN_FILENO)) return 0;
struct pollfd pfd = { .fd = STDIN_FILENO, .events = POLLIN };
return poll(&pfd, 1, 0) > 0;
}