Major updates/cleanup.
This commit is contained in:
@@ -35,7 +35,7 @@ IO::~IO() {
|
||||
}
|
||||
|
||||
void IO::apply(const io::Token::Kind &t) {
|
||||
if (bed.suppress_mode)
|
||||
if (!bed.color_mode)
|
||||
return;
|
||||
write("\x1b[0m");
|
||||
const auto &hl = bed.theme.get(t);
|
||||
@@ -60,7 +60,7 @@ void IO::apply(const io::Token::Kind &t) {
|
||||
}
|
||||
|
||||
void IO::reset() {
|
||||
if (bed.suppress_mode)
|
||||
if (!bed.color_mode)
|
||||
return;
|
||||
write("\x1b[0m");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user