fix compiler warning

This commit is contained in:
2026-06-04 14:45:35 +02:00
parent 1bbd8fd1b9
commit f07b1724d9
6 changed files with 14 additions and 69 deletions
-1
View File
@@ -1318,7 +1318,6 @@ impl Handler for Terminal {
// Look for patterns like "38;2;128" or "4;64;64m" - these are SGR parameters
if codepoints.len() >= 3 {
let has_semicolon = codepoints.iter().any(|&c| c == 0x3B); // ';'
let has_m = codepoints.iter().any(|&c| c == 0x6D); // 'm'
let mostly_digits = codepoints
.iter()
.filter(|&&c| c >= 0x30 && c <= 0x39)