Feat: WIP pattern view redesign

This commit is contained in:
2026-02-22 03:26:48 +01:00
parent c9c8fe4117
commit d3b27e8245
9 changed files with 636 additions and 127 deletions

View File

@@ -1,4 +1,4 @@
use std::cell::RefCell;
use std::cell::{Cell, RefCell};
use std::ops::RangeInclusive;
use cagire_ratatui::Editor;
@@ -84,6 +84,7 @@ pub struct EditorContext {
pub show_stack: bool,
pub stack_cache: RefCell<Option<StackCache>>,
pub target: EditorTarget,
pub steps_per_page: Cell<usize>,
}
#[derive(Clone)]
@@ -134,6 +135,7 @@ impl Default for EditorContext {
show_stack: false,
stack_cache: RefCell::new(None),
target: EditorTarget::default(),
steps_per_page: Cell::new(32),
}
}
}