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 1757b79 commit 25e00aaCopy full SHA for 25e00aa
src/xterm.rs
@@ -121,7 +121,7 @@ fn read_color_response(r: &mut Reader<'_>) -> Result<Vec<u8>> {
121
122
// If we get the response for DA1 back first, then we know that
123
// the terminal does not recocgnize the color query.
124
- if !r.buffer().starts_with(&[b']']) {
+ if !r.buffer().starts_with(b"]") {
125
_ = consume_da1_response(r, false);
126
return Err(Error::UnsupportedTerminal);
127
}
0 commit comments