st.c | 3 ++- diff --git a/st.c b/st.c index 1df4fde1cbd927be170fabfcfd9d6e48e2960eac..e76aaf3338ad4e5c5d3d114532cef1d702d8f307 100644 --- a/st.c +++ b/st.c @@ -1531,7 +1531,8 @@ * We weren't able to write out everything. * This means the buffer is getting full * again. Empty it. */ - ttyread(); + if (n < 256) + ttyread(); n -= r; s += r; } else {