diff --git a/src/protocol.c b/src/protocol.c index 07fe022..8e1e4b7 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -218,6 +218,8 @@ thread_run_command(void *args) { break; } } + + if (client->pty_len <= 0) break; } break; }