minor changes
This commit is contained in:
@@ -19,8 +19,7 @@ pub async fn execute_action<S: CanvasState>(
|
||||
command_message: &mut String,
|
||||
) -> Result<String, Box<dyn Error>> {
|
||||
match action {
|
||||
"previous_entry" | "next_entry" | "move_up" | "move_down" |
|
||||
"move_first_line" | "move_last_line" => {
|
||||
"previous_entry" | "next_entry" => {
|
||||
key_sequence_tracker.reset();
|
||||
Ok(format!(
|
||||
"Action '{}' should be handled by context-specific logic",
|
||||
|
||||
@@ -19,7 +19,7 @@ impl ModeManager {
|
||||
return AppMode::Command;
|
||||
}
|
||||
|
||||
if app_state.ui.show_login { // NEW: Check auth visibility
|
||||
if app_state.ui.show_login {
|
||||
if event_handler.is_edit_mode {
|
||||
AppMode::Edit
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user