mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
16731e6138
commit
bf9c997165
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ impl ratatui::widgets::Widget for Clear {
|
||||||
|
|
||||||
ADAPTOR.image_erase(r).ok();
|
ADAPTOR.image_erase(r).ok();
|
||||||
COLLISION.store(true, Ordering::Relaxed);
|
COLLISION.store(true, Ordering::Relaxed);
|
||||||
for y in area.top()..area.bottom() {
|
for y in r.top()..r.bottom() {
|
||||||
for x in area.left()..area.right() {
|
for x in r.left()..r.right() {
|
||||||
buf.get_mut(x, y).set_skip(true);
|
buf.get_mut(x, y).set_skip(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue