forked from zwickethomas/Photonics-Helfer
windows fix
parent
efae2e2f69
commit
b92b41c0f3
|
@ -9,7 +9,6 @@
|
||||||
#elif _WIN32
|
#elif _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <conio.h>
|
#include <conio.h>
|
||||||
system("chcp 65001 >null");
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// import sub programme
|
// import sub programme
|
||||||
|
@ -212,6 +211,11 @@ int main(int argc, char **argv){
|
||||||
int line = 0;
|
int line = 0;
|
||||||
bool run = true;
|
bool run = true;
|
||||||
|
|
||||||
|
// umlaute für windows
|
||||||
|
#ifdef _WIN32
|
||||||
|
system("chcp 65001 >null");
|
||||||
|
#endif
|
||||||
|
|
||||||
// neues terminal öffnen (nur linux)
|
// neues terminal öffnen (nur linux)
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
system("tput smcup");
|
system("tput smcup");
|
||||||
|
|
Loading…
Reference in New Issue