Text color

This commit is contained in:
Dr-Noob
2018-03-30 16:15:22 +02:00
parent 744ba41ebf
commit af0f80953c
3 changed files with 21 additions and 14 deletions

View File

@@ -74,6 +74,10 @@ struct ascii* set_ascii(VENDOR cpuVendor) {
return art;
}
void print_text(struct ascii* art,char* title, char* text) {
printf("%s%s%s%s"RESET"\n",art->color1,title,art->color2,text);
}
void print_ascii(struct ascii* art, int n) {
int flag = BOOLEAN_FALSE;