Commit 0d838b7

Christoph Lohmann <20h@r-36.net>
2015-08-30 05:28:35
Don't read if we chunked the input data.
1 parent 9984ad4
Changed files (1)
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 {