diff --git a/ChangeLog b/ChangeLog index 68600575..9ce62d65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2016-04-30 Markus Gans + * Improve 256 color terminal detection + 2016-04-19 Markus Gans * Fix the missing typecast for SpecialCharacter in "ui.cpp" diff --git a/src/fterm.cpp b/src/fterm.cpp index cb217d3b..85228e6a 100644 --- a/src/fterm.cpp +++ b/src/fterm.cpp @@ -761,6 +761,8 @@ char* FTerm::init_256colorTerminal() } color256 = true; } + else if ( strstr (termtype, "256color") ) + color256 = true; else color256 = false;