diff --git a/src/protocols/ssh/buffer.c b/src/protocols/ssh/buffer.c index 1f0955eb..7e886be4 100644 --- a/src/protocols/ssh/buffer.c +++ b/src/protocols/ssh/buffer.c @@ -194,7 +194,7 @@ void guac_terminal_buffer_set_columns(guac_terminal_buffer* buffer, int row, *(current++) = *character; /* Update length depending on row written */ - if (row >= buffer->length) + if (character->value != 0 && row >= buffer->length) buffer->length = row+1; }