st
simple terminal
git clone https://9o.is/git/st.git
commit 7461e8c0ceabf6cd795ef351c30d21659520b946 parent fe94ba2610ac99f2ed928eb1e2684be01de2edad 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:
| M | 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 {