diff --git a/macssh/source/network/network.c b/macssh/source/network/network.c index c355e3a..54aee7b 100755 --- a/macssh/source/network/network.c +++ b/macssh/source/network/network.c @@ -711,7 +711,8 @@ short netpush(short pnum) lshcontext *context = (lshcontext *)wind->sshdata.context; TRACEN(PRINTF("netpush\n")); if (context) { - if (context->_gConsoleInBufLen) { + unsigned long startTicks = LMGetTicks(); + while ( context->_gConsoleInBufLen && LMGetTicks() - startTicks < 15 ) { ssh2_sched(); } return context->_gConsoleInBufLen;