Browse Source

Don't read if we chunked the input data.

master
Christoph Lohmann 9 years ago
parent
commit
0d838b7243
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      st.c

+ 2
- 1
st.c View File

@ -1531,7 +1531,8 @@ ttywrite(const char *s, size_t n)
* This means the buffer is getting full * This means the buffer is getting full
* again. Empty it. * again. Empty it.
*/ */
ttyread();
if (n < 256)
ttyread();
n -= r; n -= r;
s += r; s += r;
} else { } else {


Loading…
Cancel
Save