mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-17 16:38:09 +08:00
Apply clang-tidy
This commit is contained in:
@@ -78,7 +78,7 @@ void UpdatePixelStyle(const Screen* screen,
|
||||
}
|
||||
|
||||
// Bold
|
||||
if (FTXUI_UNLIKELY(next.bold != prev.bold || next.dim != prev.dim)) {
|
||||
if (FTXUI_UNLIKELY((next.bold ^ prev.bold) | (next.dim ^ prev.dim))) {
|
||||
// BOLD_AND_DIM_RESET:
|
||||
ss << ((prev.bold && !next.bold) || (prev.dim && !next.dim) ? "\x1B[22m"
|
||||
: "");
|
||||
|
Reference in New Issue
Block a user