From: Aurélien Aptel Date: Wed, 1 Sep 2010 16:12:54 +0000 (+0200) Subject: removed debug code. X-Git-Url: https://git.xinqibao.xyz/st.git/commitdiff_plain/df5c5ed04547986ad2fd22226aaa3da430310374?ds=sidebyside;hp=--cc removed debug code. --- df5c5ed04547986ad2fd22226aaa3da430310374 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