diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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 { |
