X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/1d470ad2e5c02decf05a509b2c8c2718a3f70495..cabfd08c97213abe46f996a93407f8209fc38b94:/ssh.c diff --git a/ssh.c b/ssh.c index d3df6bcb..caf98ce0 100644 --- a/ssh.c +++ b/ssh.c @@ -101,6 +101,9 @@ static void c_write (char *buf, int len) { if (new_head != inbuf_reap) { inbuf[inbuf_head] = *buf++; inbuf_head = new_head; + } else { + term_out(); + if( inbuf_head == inbuf_reap ) len++; else break; } } }