pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9984ad4
)
Don't read if we chunked the input data.
author
Christoph Lohmann
<20h@r-36.net>
Sun, 30 Aug 2015 09:28:35 +0000
(11:28 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Sun, 30 Aug 2015 09:28:35 +0000
(11:28 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
1df4fde
..
e76aaf3
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-1531,7
+1531,8
@@
ttywrite(const char *s, size_t n)
* This means the buffer is getting full
* again. Empty it.
*/
- ttyread();
+ if (n < 256)
+ ttyread();
n -= r;
s += r;
} else {