Use upstream ratatuis (#154)

* Use upstream versions of ratatui crates

* fmt

* Update deps again

* maybe we need to enable debug in mimalloc for windows?

* try to fix windows dll linking with mimalloc

* Update to latest version of mimalloc fork
This commit is contained in:
June
2026-08-15 19:45:41 -04:00
committed by GitHub
parent c2117daaf5
commit fd275acecb
7 changed files with 761 additions and 438 deletions
+3 -12
View File
@@ -1,23 +1,14 @@
use std::num::NonZeroUsize;
use ratatui::widgets::Widget;
use ratatui::{prelude::buffer::CellDiffOption, widgets::Widget};
pub struct Skip {
skip: bool
}
impl Skip {
#[must_use]
pub fn new(skip: bool) -> Self {
Self { skip }
}
}
pub struct Skip;
impl Widget for Skip {
fn render(self, area: ratatui::prelude::Rect, buf: &mut ratatui::prelude::Buffer) {
for x in area.x..(area.x + area.width) {
for y in area.y..(area.y + area.height) {
buf[(x, y)].skip = self.skip;
buf[(x, y)].diff_option = CellDiffOption::Skip;
}
}
}