mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +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() {
|
bool FurnaceCLI::finish() {
|
||||||
|
#ifdef _WIN32
|
||||||
|
#else
|
||||||
if (tcsetattr(0,TCSAFLUSH,&termpropold)!=0) {
|
if (tcsetattr(0,TCSAFLUSH,&termpropold)!=0) {
|
||||||
logE("could not set console attributes!");
|
logE("could not set console attributes!");
|
||||||
logE("you may have to run `reset` on your terminal.");
|
logE("you may have to run `reset` on your terminal.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue