pride-c/draw.c

11 lines
182 B
C
Raw Normal View History

#include "draw.h"
#include <stdio.h>
2024-03-23 11:48:09 -04:00
void draw(const unsigned short int len, const color colors []) {
for(int i = 0; i < len; i++) {
printf(ANSI "%dm" STRIPE, colors[i]);
}
}