mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
AND REALLY FIX IT THIS TIME
This commit is contained in:
parent
a9bfe7f452
commit
c6d5f55335
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue