Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
removed debug code.
[st.git]
/
st.c
diff --git
a/st.c
b/st.c
index
65829a8
..
0c876f5
100644
(file)
--- 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