Improve 256 color terminal detection

This commit is contained in:
Markus Gans 2016-04-30 12:52:18 +02:00
parent 8244a558df
commit ed518a8e2d
2 changed files with 5 additions and 0 deletions

View File

@ -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>
* Fix the missing typecast for SpecialCharacter in "ui.cpp"

View File

@ -761,6 +761,8 @@ char* FTerm::init_256colorTerminal()
}
color256 = true;
}
else if ( strstr (termtype, "256color") )
color256 = true;
else
color256 = false;