Improve 256 color terminal detection
This commit is contained in:
parent
8244a558df
commit
ed518a8e2d
|
@ -1,3 +1,6 @@
|
||||||
|
2016-04-30 Markus Gans <guru.mail@muenster.de>
|
||||||
|
* Improve 256 color terminal detection
|
||||||
|
|
||||||
2016-04-19 Markus Gans <guru.mail@muenster.de>
|
2016-04-19 Markus Gans <guru.mail@muenster.de>
|
||||||
* Fix the missing typecast for SpecialCharacter in "ui.cpp"
|
* Fix the missing typecast for SpecialCharacter in "ui.cpp"
|
||||||
|
|
||||||
|
|
|
@ -761,6 +761,8 @@ char* FTerm::init_256colorTerminal()
|
||||||
}
|
}
|
||||||
color256 = true;
|
color256 = true;
|
||||||
}
|
}
|
||||||
|
else if ( strstr (termtype, "256color") )
|
||||||
|
color256 = true;
|
||||||
else
|
else
|
||||||
color256 = false;
|
color256 = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue