GUAC-621: Only increase buffer length if real character data was written (not cleared).
This commit is contained in:
parent
e226a7aae0
commit
41edeb93f2
@ -207,7 +207,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;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user