Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions code/logic/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,6 @@ pizza_fstream_t *PIZZA_STDOUT;
pizza_fstream_t *PIZZA_STDERR;

int32_t PIZZA_IO_COLOR_ENABLE = 1; // Flag to enable/disable color output
int32_t FOSSIL_IO_ATTR_ENABLE = 1; // Flag to enable/disable attribute output

// Define color codes for output
#define FOSSIL_IO_COLOR_RESET "\033[0m"
Expand Down Expand Up @@ -1478,9 +1477,7 @@ void pizza_io_print_with_attributes(const char *format, ...) {
if (PIZZA_IO_COLOR_ENABLE && color) {
pizza_io_apply_color(color);
}
if (FOSSIL_IO_ATTR_ENABLE && attribute) {
pizza_io_apply_attribute(attribute);
}
pizza_io_apply_attribute(attribute);
}

// Move past '}' and continue processing
Expand Down