From c6d5f55335125f9f618ef2c47d43d64c79bd421f Mon Sep 17 00:00:00 2001 From: tildearrow Date: Tue, 26 Jul 2022 02:28:28 -0500 Subject: [PATCH] AND REALLY FIX IT THIS TIME --- src/cli/cli.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; }