This commit is contained in:
silverweed 2024-07-26 13:38:56 +02:00
parent a83434e876
commit 3977a369d4

View file

@ -45,7 +45,7 @@ String8 render_legend_to_string(Arena *arena, const Term_Viewer &viewer, const A
} *head = nullptr, *tail = nullptr; } *head = nullptr, *tail = nullptr;
String8 color_none = ansi_color_table[ACol_None]; String8 color_none = ansi_color_table[ACol_None];
u64 tot_len = 0; u64 tot_len = 0;
for (u64 section = 1; section < Sec_COUNT; ++section) { for (u64 section = 1; section < Sec_COUNT; ++section) {
Ansi_Color color = viewer.col_section[section]; Ansi_Color color = viewer.col_section[section];
String8 color_str = ansi_color_table[color]; String8 color_str = ansi_color_table[color];