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