Mercurial > repo
changeset 8723:8b6797bc7989
<oerjan> sled src/orenbow.c//s,c=1,c=0,
author | HackBot |
---|---|
date | Tue, 05 Jul 2016 04:06:58 +0000 |
parents | c5a96177b397 |
children | 53b215c32fe4 |
files | src/orenbow.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/orenbow.c Tue Jul 05 04:04:49 2016 +0000 +++ b/src/orenbow.c Tue Jul 05 04:06:58 2016 +0000 @@ -1,2 +1,2 @@ #include <stdio.h> -int main(){int a,c=1;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%d;1m","\37! $\"#"[c]),c=c+1-6*(c>4);putchar(a);goto b;} +int main(){int a,c=0;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%d;1m","\37! $\"#"[c]),c=c+1-6*(c>4);putchar(a);goto b;}