forked from zwickethomas/Photonics-Helfer
windows fix
parent
efae2e2f69
commit
b92b41c0f3
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue