~amavect/makeu

d81319ca0c957795a69b36c6b78343079a734317 — amavect 1 year, 6 months ago 53a7c95
remove debug print, show input color
1 files changed, 2 insertions(+), 5 deletions(-)

M makeu.c
M makeu.c => makeu.c +2 -5
@@ 276,14 276,10 @@ stdinproc(void *aux)
	threadsetname("stdinproc");
	
	for(;;){
		n = read(0, in, sizeof(in));
		n = read(0, in, sizeof(in)-1);
		if(n <= 0)
			break;
		in[10] = 0;
		if(n != 0){
			
			fprint(2, "hello %ld %s\n", n, in);
		}
		col = strtocolor(in);
		if(col != DNotacolor)
			send(c, &col);


@@ 469,6 465,7 @@ threadmain(int argc, char **argv)
			break;
		case STDIN:
			allevent(incolor);
			show();
			break;
		case NONE:
			print("I'm a woodchuck, not a woodchucker! (thanks for playing)\n");