From: Aurélien Aptel Date: Wed, 1 Sep 2010 16:12:54 +0000 (+0200) Subject: removed debug code. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=df5c5ed04547986ad2fd22226aaa3da430310374;hp=5ce6c5c0324ef3b7d0f5b9e6e2ba4d87ae0d3bb1;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