display/source/CursesDisplay.cpp
// Get whether the terminal can support colour.  False by
// default, until SL actually tries to detect the terminal's
// colour capabilities.  This can be turned off in the ini
// settings, also.
Get whether the terminal can support colour.  False by
default, until SL actually tries to detect the terminal's
colour capabilities.  This can be turned off in the ini
settings, also.
Get whether the terminal can support colour . False by default until SL actually tries to detect the terminal ' s colour capabilities . This can be turned off in the ini settings also .
bool CursesDisplay::uses_colour() const
{
  string colour_prop = get_property(DisplaySettings::DISPLAY_SETTING_COLOUR);
  bool colour = String::to_bool(colour_prop);
  return colour;
}
bool CursesDisplay :: uses_colour ( ) const { string colour_prop = get_property ( DisplaySettings :: DISPLAY_SETTING_COLOUR ) ; bool colour = String :: to_bool ( colour_prop ) ; return colour ; }
Get whether the terminal can support colour.
Get whether the terminal can support colour .