mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: Sixel support from certain st forks cannot be detected (#1094)
This commit is contained in:
parent
1ab3df6850
commit
2eec94652a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue