mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 09:58:03 +02:00
GenConfig: don't use Unicode string when drawing options
This commit is contained in:
@@ -559,13 +559,11 @@ static void drawItemCell(FFRow* row, uint32_t startCol, uint32_t cellWidth, cons
|
||||
static void drawLogoOption(FFRow* row, const char* name, bool active) {
|
||||
if (active) {
|
||||
rowAppendRaw(row, "\e[" FF_COLOR_FG_GREEN "m");
|
||||
rowAppendVisual(row, "● ");
|
||||
rowAppendRaw(row, FASTFETCH_TEXT_MODIFIER_RESET);
|
||||
rowAppendRaw(row, "\e[" FF_COLOR_FG_GREEN "m");
|
||||
rowAppendVisual(row, "[x] ");
|
||||
rowAppendVisual(row, name);
|
||||
rowAppendRaw(row, FASTFETCH_TEXT_MODIFIER_RESET);
|
||||
} else {
|
||||
rowAppendVisual(row, "○ ");
|
||||
rowAppendVisual(row, "[ ] ");
|
||||
rowAppendVisual(row, name);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user