Skip to content

Commit

Permalink
fix: Sixel support from certain st forks cannot be detected (#1094)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi authored May 27, 2024
1 parent 1ab3df6 commit 2eec946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yazi-shared/src/term/csi_u.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
};
Expand Down

0 comments on commit 2eec946

Please sign in to comment.