terminal colours by nn

for(c=p=32;~c;p=c-10?c:32)printf p-(c=System.in.read())?'\x1b[4%sm%s':'  ','6970291#49'[c%9],c-10?'  ':'\n'

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

download

return to the top page