We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NCurses.cc
yuiMilestone() << "have color = " << ::has_colors() << std::endl; if ( want_colors() && ::has_colors() ) { if ( ::start_color() != OK ) throw NCursesError( "start_color() failed" ); NCattribute::init_colors(); }
NCattribute.h
inline static int colors() { return _colors ? _colors : ::COLORS; }
NCattribute.cc
yuiMilestone() << "Init " << term_t << " using " << ( NCattribute::colors() ? "color" : "bw" ) << " => " << MaxStyleSet << " styles in " << styleName << std::endl;
NCattribute::colors() is used to detect colorness but it returns non-false regradless of NCattribute::init_colors() being called or not.
The text was updated successfully, but these errors were encountered:
so maybe add a flag that is set when NCattribute::init_colors() is called?
Sorry, something went wrong.
No branches or pull requests
NCurses.cc
NCattribute.h
NCattribute.cc
yuiMilestone() << "Init " << term_t << " using " << ( NCattribute::colors() ? "color" : "bw" ) << " => " << MaxStyleSet << " styles in " << styleName << std::endl;
NCattribute::colors() is used to detect colorness but it returns non-false regradless of NCattribute::init_colors() being called or not.
The text was updated successfully, but these errors were encountered: