iDon't read if we chunked the input data. - st - Simple Terminal Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/st//log.gph gopher.r-36.net 70 1Files /scm/st//files.gph gopher.r-36.net 70 1Refs /scm/st//refs.gph gopher.r-36.net 70 1README /scm/st//file/README.gph gopher.r-36.net 70 1LICENSE /scm/st//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit 0d838b72437c6cac0d87366352939fdb86c2b697 /scm/st//commit/0d838b72437c6cac0d87366352939fdb86c2b697.gph gopher.r-36.net 70 1parent 9984ad4ba730b043d064095dca42b490904e38f3 /scm/st//commit/9984ad4ba730b043d064095dca42b490904e38f3.gph gopher.r-36.net 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net gopher.r-36.net 70 iDate: Sun, 30 Aug 2015 11:28:35 +0200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDon't read if we chunked the input data. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i st.c | 3 ++- Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i1 file changed, 2 insertions(+), 1 deletion(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/st.c b/st.c /scm/st//file/st.c.gph gopher.r-36.net 70 i@@ -1531,7 +1531,8 @@ ttywrite(const char *s, size_t n) Err gopher.r-36.net 70 i * This means the buffer is getting full Err gopher.r-36.net 70 i * again. Empty it. Err gopher.r-36.net 70 i */ Err gopher.r-36.net 70 i- ttyread(); Err gopher.r-36.net 70 i+ if (n < 256) Err gopher.r-36.net 70 i+ ttyread(); Err gopher.r-36.net 70 i n -= r; Err gopher.r-36.net 70 i s += r; Err gopher.r-36.net 70 i } else { Err gopher.r-36.net 70 .