mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Fix test
This commit is contained in:
parent
a5ee38bb00
commit
be3b775a39
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ impl Term {
|
|||
SHAPE.store(
|
||||
s.split_once("\x1bP1$r")
|
||||
.and_then(|(_, s)| s.bytes().next())
|
||||
.filter(|&b| matches!(b, b'0'..b'6'))
|
||||
.filter(|&b| matches!(b, b'0'..=b'6'))
|
||||
.map_or(0, |b| b - b'0'),
|
||||
Ordering::Relaxed,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue