aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-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)
1531 * This means the buffer is getting full 1531 * This means the buffer is getting full
1532 * again. Empty it. 1532 * again. Empty it.
1533 */ 1533 */
1534 ttyread(); 1534 if (n < 256)
1535 ttyread();
1535 n -= r; 1536 n -= r;
1536 s += r; 1537 s += r;
1537 } else { 1538 } else {