Fix wrapping width.
This commit is contained in:
parent
56b3deaf27
commit
e67128f795
|
@ -192,8 +192,8 @@ where I: Iterator<Item = Result<u8, Error>>
|
||||||
let mut buf = Vec::new();
|
let mut buf = Vec::new();
|
||||||
buf.push(c);
|
buf.push(c);
|
||||||
let mut c = iter.next().unwrap().unwrap();
|
let mut c = iter.next().unwrap().unwrap();
|
||||||
// The final byte of a CSI sequence can be in the range 64-126
|
// The final byte of a CSI sequence can be in the range 64-126, so
|
||||||
// So let's keep reading anything else.
|
// let's keep reading anything else.
|
||||||
while c < 64 || c > 126 {
|
while c < 64 || c > 126 {
|
||||||
buf.push(c);
|
buf.push(c);
|
||||||
c = iter.next().unwrap().unwrap();
|
c = iter.next().unwrap().unwrap();
|
||||||
|
|
Loading…
Reference in New Issue