We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ecf272 commit bf140f4Copy full SHA for bf140f4
image/src/sixel.rs
@@ -58,7 +58,7 @@ impl SixelBackend {
58
read(STDIN_FILENO, &mut byte as *mut _ as *mut c_void, 1);
59
}
60
buf.push(byte);
61
- if buf.starts_with(&[0x1B, b'[', b'?']) && buf.ends_with(&[b'c']) {
+ if buf.starts_with(&[0x1B, b'[', b'?']) && buf.ends_with(b"c") {
62
for attribute in buf[3..(buf.len() - 1)].split(|x| *x == b';') {
63
if attribute == [b'4'] {
64
unsafe {
0 commit comments