mirror of
https://github.com/sxyazi/yazi.git
synced 2024-09-11 10:26:35 +03:00
fix: Sixel support from certain st
forks cannot be detected (#1094)
This commit is contained in:
parent
1ab3df6850
commit
2eec94652a
@ -16,10 +16,10 @@ impl Term {
|
||||
if stdin.read(&mut c).await? == 0 {
|
||||
bail!("unexpected EOF");
|
||||
}
|
||||
buf.push(c[0] as char);
|
||||
if c[0] == b'c' && buf.contains("\x1b[?") {
|
||||
break;
|
||||
}
|
||||
buf.push(c[0] as char);
|
||||
}
|
||||
Ok(buf)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user