commit 0d838b72437c6cac0d87366352939fdb86c2b697 parent 9984ad4ba730b043d064095dca42b490904e38f3 Author: Christoph Lohmann <20h@r-36.net> Date: Sun, 30 Aug 2015 11:28:35 +0200 Don't read if we chunked the input data. Diffstat:
st.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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 {