toaruos/userspace/tests/test-boxchars.c
Kevin Lange 416d483fd6 Box drawing and new wcwidth
Currently a brute-force method, going
to replace this with a Markus Khun-esque interval
search shortly.
2013-05-11 13:20:20 -07:00

14 lines
278 B
C

#include <stdio.h>
#include <wchar.h>
int main(int argc, char * argv[]) {
wchar_t * c = L"▒␉␌␍␊°±␤␋┘┐┌└┼⎺⎻─⎼⎽├┤┴┬│≤≥";
char d = 'a';
while (*c) {
printf("%d - %c \033(0%c\033(B\n", *c, d, d);
c++;
d++;
}
return 0;
}