highlight is now working properly well, can keep on going
This commit is contained in:
@@ -34,6 +34,7 @@ pub fn render_ui(
|
||||
theme: &Theme,
|
||||
is_edit_mode: bool,
|
||||
is_highlight_mode: bool,
|
||||
is_linewise_highlight: bool,
|
||||
highlight_anchor: Option<(usize, usize)>,
|
||||
total_count: u64,
|
||||
current_position: u64,
|
||||
@@ -95,6 +96,7 @@ pub fn render_ui(
|
||||
app_state,
|
||||
register_state.current_field < 4,
|
||||
is_highlight_mode,
|
||||
is_linewise_highlight,
|
||||
highlight_anchor,
|
||||
);
|
||||
} else if app_state.ui.show_login {
|
||||
@@ -106,6 +108,7 @@ pub fn render_ui(
|
||||
app_state,
|
||||
login_state.current_field < 2,
|
||||
is_highlight_mode,
|
||||
is_linewise_highlight,
|
||||
highlight_anchor,
|
||||
);
|
||||
} else if app_state.ui.show_admin {
|
||||
@@ -172,6 +175,7 @@ pub fn render_ui(
|
||||
theme,
|
||||
is_edit_mode,
|
||||
is_highlight_mode,
|
||||
is_linewise_highlight,
|
||||
highlight_anchor,
|
||||
total_count,
|
||||
current_position,
|
||||
|
||||
@@ -92,6 +92,7 @@ pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
|
||||
&theme,
|
||||
is_edit_mode,
|
||||
event_handler.is_highlight_mode,
|
||||
event_handler.is_linewise_highlight,
|
||||
event_handler.highlight_anchor,
|
||||
app_state.total_count,
|
||||
app_state.current_position,
|
||||
|
||||
Reference in New Issue
Block a user