Cygwin: pty: Fix a bug in the code removing "CSI > Pm m".
- The code added by 8121b606e8
has a
bug which fails to remove multiple "CSI > Pm m" sequences. This
patch fixes the bug.
This commit is contained in:
parent
fccb9d7239
commit
65ee05d326
|
@ -2063,6 +2063,7 @@ fhandler_pty_master::pty_master_fwd_thread ()
|
||||||
memmove (&outbuf[start_at], &outbuf[i+1], rlen-i-1);
|
memmove (&outbuf[start_at], &outbuf[i+1], rlen-i-1);
|
||||||
rlen = wlen = start_at + rlen - i - 1;
|
rlen = wlen = start_at + rlen - i - 1;
|
||||||
state = 0;
|
state = 0;
|
||||||
|
i = start_at - 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue