Logo: code refactor

This commit is contained in:
李通洲
2023-09-15 10:53:09 +08:00
parent 0d5cf52f08
commit bd02e5c632
3 changed files with 52 additions and 58 deletions
+1 -3
View File
@@ -112,9 +112,7 @@ void ffPrintColor(const FFstrbuf* colorValue)
if(colorValue->length == 0)
return;
fputs("\033[", stdout);
ffStrbufWriteTo(colorValue, stdout);
fputc('m', stdout);
printf("\e[%sm", colorValue->chars);
}
void ffPrintCharTimes(char c, uint32_t times)