better and better

This commit is contained in:
filipriec
2025-05-23 15:40:16 +02:00
parent 667eb4809d
commit 05580ac978
3 changed files with 37 additions and 9 deletions

View File

@@ -155,7 +155,7 @@ pub async fn run_ui() -> Result<()> {
// --- Cursor Visibility Logic ---
// (Keep existing cursor logic here - depends on state drawn above)
let current_mode = ModeManager::derive_mode(&app_state, &event_handler);
let current_mode = ModeManager::derive_mode(&app_state, &event_handler, &admin_state);
match current_mode {
AppMode::Edit => { terminal.show_cursor()?; }
AppMode::Highlight => { terminal.set_cursor_style(SetCursorStyle::SteadyBlock)?; terminal.show_cursor()?; }