Logo: resets color state after printing logo line

This commit is contained in:
李通洲
2026-05-23 09:44:03 +08:00
parent 5f810de1e0
commit a321cd877e
+3
View File
@@ -30,6 +30,9 @@ static void logoLineCachePush(const FFstrbuf* chars, uint32_t width, FFLogoLineC
FFLogoCachedLine* line = FF_LIST_ADD(FFLogoCachedLine, cache->lines);
if (width > 0) {
ffStrbufInitCopy(&line->chars, chars);
if (!instance.config.display.pipe) {
ffStrbufAppendS(&line->chars, FASTFETCH_TEXT_MODIFIER_RESET);
}
} else {
ffStrbufInit(&line->chars);
}