UX improvements for preview build

This commit is contained in:
wheremyfoodat 2023-07-09 14:07:50 +03:00
parent 5bcc35dfc8
commit b51a1aae5e
3 changed files with 10 additions and 4 deletions

View file

@ -2,6 +2,7 @@
#include <climits>
#include <cstdarg>
#include <cstdint>
#include <conio.h>
#include <iostream>
#include <iterator>
#include <sstream>
@ -36,7 +37,9 @@ namespace Helpers {
std::cout << termcolor::on_red << "[FATAL] ";
std::printf(fmt, args...);
std::cout << termcolor::reset << "\n";
std::cout << "Press any button to exit\n";
getch();
exit(1);
}