aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c4
1 files changed, 1 insertions, 3 deletions
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