mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
Update main.c
This commit is contained in:
parent
f530d8d111
commit
09367d35a4
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user