Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
(from parent 2:
7e61f5e
)
Merge branch 'master' of ssh://suckless.org/gitrepos/st
author
Christoph Lohmann <
[email protected]
>
Sun, 30 Aug 2015 09:29:23 +0000
(11:29 +0200)
committer
Christoph Lohmann <
[email protected]
>
Sun, 30 Aug 2015 09:29:23 +0000
(11:29 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
35a840b
..
aaf868d
100644
(file)
--- 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 {