MCPcopy Create free account
hub / github.com/catboost/catboost / StyleDark

Method StyleDark

library/cpp/colorizer/colors.cpp:186–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 return IsTTY() ? ToStringBufC(EAnsiCode::ST_LIGHT) : ToStringBufC(EAnsiCode::INVALID);
185}
186TStringBuf TColors::StyleDark() const noexcept {
187 return IsTTY() ? ToStringBufC(EAnsiCode::ST_DARK) : ToStringBufC(EAnsiCode::INVALID);
188}
189TStringBuf TColors::StyleNormal() const noexcept {
190 return IsTTY() ? ToStringBufC(EAnsiCode::ST_NORMAL) : ToStringBufC(EAnsiCode::INVALID);
191}

Callers

nothing calls this directly

Calls 1

ToStringBufCFunction · 0.85

Tested by

no test coverage detected