Mercurial > repo
view src/orenbow.c @ 8711:15f6dc59410a
<oerjan> ` cp orenbow.c src
author | HackBot |
---|---|
date | Tue, 05 Jul 2016 03:39:31 +0000 |
parents | |
children | 66db96ea4978 |
line wrap: on
line source
#include <stdio.h> int main(){int a,c=1;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&192))printf("\e[%d;1m","\37! $\"#"[c]);putchar(a);c=c+1-6*(c>4);goto b;}