diff --git a/src/main.c b/src/main.c index fab8232..21be99d 100644 --- a/src/main.c +++ b/src/main.c @@ -9,7 +9,6 @@ #elif _WIN32 #include #include - system("chcp 65001 >null"); #endif // import sub programme @@ -212,6 +211,11 @@ int main(int argc, char **argv){ int line = 0; bool run = true; + // umlaute für windows + #ifdef _WIN32 + system("chcp 65001 >null"); + #endif + // neues terminal öffnen (nur linux) #ifdef __linux__ system("tput smcup");