aboutsummaryrefslogtreecommitdiff
path: root/lib/aec/aec.c
blob: d38e8d12bdda90a3269941441b8274e083ba2d3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "aec.h"

#include "../io/io.h"

#define csi() wstd("\033[");

void sgr(const char *attrs)
{
	csi();
	wstd(attrs);
	wstd("m");
}


#ifdef AEC_UNIT_TEST

int main() {
	sgr(SGR_BOLD);
	wstd("Hallo");
	sgr(SGR_RESET);
	wstd("Welt\n");
}

#endif