From: Aurélien Aptel Date: Wed, 1 Sep 2010 16:12:54 +0000 (+0200) Subject: removed debug code. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=df5c5ed04547986ad2fd22226aaa3da430310374;p=st.git removed debug code. --- diff --git a/st.c b/st.c index 65829a8..0c876f5 100644 --- a/st.c +++ b/st.c @@ -392,10 +392,8 @@ ttyread(void) { if((ret = read(cmdfd, buf, LEN(buf))) < 0) die("Couldn't read from shell: %s\n", SERRNO); - else { - printf("ttyread %d\n", ret); + else tputs(buf, ret); - } } void