st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
commit df5c5ed04547986ad2fd22226aaa3da430310374
parent 5ce6c5c0324ef3b7d0f5b9e6e2ba4d87ae0d3bb1
Author: Aurélien Aptel <aurelien.aptel@gmail.com>
Date:   Wed,  1 Sep 2010 18:12:54 +0200

removed debug code.

Diffstat:
Mst.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git 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