IQ.Pilot Release Commit @ d2ce8a8

This commit is contained in:
IQ.Lvbs CI [bot]
2026-08-28 08:35:52 -05:00
parent 9206164707
commit ee1dca77c7
210 changed files with 19726 additions and 455 deletions

View File

@@ -1,4 +1,5 @@
#include <getopt.h>
#include <unistd.h>
#include <iomanip>
#include <iostream>
@@ -176,6 +177,15 @@ int main(int argc, char *argv[]) {
return 0;
}
// REPLAY_HEADLESS: skip ncurses, which needs a real TTY and swallows all
// replay log output into its UI — required when driven from a service
if (getenv("REPLAY_HEADLESS") != nullptr) {
replay.start(config.start_seconds);
while (true) {
pause();
}
}
ConsoleUI console_ui(&replay);
replay.start(config.start_seconds);
return console_ui.exec();