terminal colours by nn

p;main(c,n){for(;~n;p=c)c="6\x00702\x001#4"[n=getchar()%9],printf(p-c?"\x1b[4%cm%s":"  ",c?:57,n-1?"  ":"\n");}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page