terminal colours by n

j=9;$><<($<.read+$/).gsub(/./m){|s|i=j;"\x1b[4#{j="xrg_b_cw"=~/#$&/||9}m"*-2[i^j]+(s==$/?s:"  ")}

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

download

return to the top page