Fixes #928 again. In scrollback replay, skip every line that starts 0x0d.
This commit is contained in:
parent
2a2eafcf1d
commit
b66edd372e
@ -298,6 +298,10 @@ scrollback_load (session *sess)
|
||||
{
|
||||
char *buf_tmp;
|
||||
|
||||
/* If nothing but funny trailing matter e.g. 0x0d or 0x0d0a, toss it */
|
||||
if (n_bytes >= 1 && buf[0] == 0x0d)
|
||||
continue;
|
||||
|
||||
n_bytes--;
|
||||
buf_tmp = buf;
|
||||
buf = g_strndup (buf_tmp, n_bytes);
|
||||
|
Loading…
Reference in New Issue
Block a user