diff --git a/src/cli/cli.cpp b/src/cli/cli.cpp index 55ac3a865..2ac4a492f 100644 --- a/src/cli/cli.cpp +++ b/src/cli/cli.cpp @@ -96,11 +96,14 @@ bool FurnaceCLI::loop() { } bool FurnaceCLI::finish() { +#ifdef _WIN32 +#else if (tcsetattr(0,TCSAFLUSH,&termpropold)!=0) { logE("could not set console attributes!"); logE("you may have to run `reset` on your terminal."); return false; } +#endif return true; }