GUAC-621: Only increase buffer length if real character data was written (not cleared).
This commit is contained in:
parent
4d48dc384b
commit
9229457dd4
@ -194,7 +194,7 @@ void guac_terminal_buffer_set_columns(guac_terminal_buffer* buffer, int row,
|
|||||||
*(current++) = *character;
|
*(current++) = *character;
|
||||||
|
|
||||||
/* Update length depending on row written */
|
/* Update length depending on row written */
|
||||||
if (row >= buffer->length)
|
if (character->value != 0 && row >= buffer->length)
|
||||||
buffer->length = row+1;
|
buffer->length = row+1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user