aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/st.c b/st.c
index 35a840b..aaf868d 100644
--- 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 {