Update main.c

This commit is contained in:
blueloveTH 2025-03-06 22:00:25 +08:00
parent f530d8d111
commit 09367d35a4

View File

@ -50,9 +50,9 @@ int main(int argc, char** argv) {
#if _WIN32
SetConsoleCP(CP_UTF8);
SetConsoleOutputCP(CP_UTF8);
SetConsoleCtrlHandler((PHANDLER_ROUTINE)sigint_handler, TRUE);
// SetConsoleCtrlHandler((PHANDLER_ROUTINE)sigint_handler, TRUE);
#else
signal(SIGINT, sigint_handler);
// signal(SIGINT, sigint_handler);
#endif
if(argc > 2) {