annotate src/orenbow.c @ 8731:7ff7cec832af

<\oren\> ` sed -e \'s/;1m/m/\' -i src/orenbow.c
author HackBot
date Tue, 05 Jul 2016 04:28:39 +0000
parents bbf11eda97c7
children fc9a99a826d3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8711
15f6dc59410a <oerjan> ` cp orenbow.c src
HackBot
parents:
diff changeset
1 #include <stdio.h>
8731
7ff7cec832af <\oren\> ` sed -e \'s/;1m/m/\' -i src/orenbow.c
HackBot
parents: 8730
diff changeset
2 int main(){printf("e[1m");int a,c=0;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%dm","\37! $\"#"[c]),c=c+1-6*(c>4);putchar(a);goto b;}