diff options
Diffstat (limited to 'analyzer/render.h')
| -rw-r--r-- | analyzer/render.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/analyzer/render.h b/analyzer/render.h index 7ad2e92..6c9f844 100644 --- a/analyzer/render.h +++ b/analyzer/render.h @@ -1,9 +1,9 @@ // render.h // functions for "rendering" data onto the terminal +#include "analyzer.h" #include "parser/fight_results/fight_results.h" #include "utils/memory.h" -#include "analyzer.h" // ANSI escape sequence colors #define COLOR_GOLD 33 @@ -46,7 +46,9 @@ inline static size_t sum_col_widths() { return sum; } -#define TABLE_LINE_WIDTH (TABLE_LINE_START_WIDTH + sum_col_widths() + (ARR_LEN(columns) - 1) * TABLE_LINE_SEPARATOR_WIDTH + TABLE_LINE_END_WIDTH) +#define TABLE_LINE_WIDTH \ + (TABLE_LINE_START_WIDTH + sum_col_widths() + \ + (ARR_LEN(columns) - 1) * TABLE_LINE_SEPARATOR_WIDTH + TABLE_LINE_END_WIDTH) #define TABLE_ITEMS_WIDTH (TABLE_LINE_WIDTH - TABLE_LINE_START_WIDTH - TABLE_LINE_END_WIDTH) |
