windows fix

main
MuedeHydra 2024-12-10 17:37:47 +01:00
parent efae2e2f69
commit b92b41c0f3
1 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,6 @@
#elif _WIN32
#include <windows.h>
#include <conio.h>
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");