HIGHLIGHT MODE
This commit is contained in:
@@ -22,6 +22,8 @@ pub fn render_register(
|
||||
state: &RegisterState, // Use RegisterState
|
||||
app_state: &AppState,
|
||||
is_edit_mode: bool,
|
||||
is_highlight_mode: bool,
|
||||
highlight_anchor: Option<(usize, usize)>,
|
||||
) {
|
||||
let block = Block::default()
|
||||
.borders(Borders::ALL)
|
||||
@@ -64,6 +66,8 @@ pub fn render_register(
|
||||
&state.inputs().iter().map(|s| *s).collect::<Vec<&String>>(), // Pass inputs directly
|
||||
theme,
|
||||
is_edit_mode,
|
||||
is_highlight_mode,
|
||||
highlight_anchor,
|
||||
);
|
||||
|
||||
// --- HELP TEXT ---
|
||||
|
||||
Reference in New Issue
Block a user