mistake fixed
This commit is contained in:
@@ -103,7 +103,7 @@ pub async fn handle_edit_event(
|
|||||||
if let Some(action) =
|
if let Some(action) =
|
||||||
config.get_edit_action_for_key(key.code, key.modifiers)
|
config.get_edit_action_for_key(key.code, key.modifiers)
|
||||||
.as_deref() {
|
.as_deref() {
|
||||||
if action == "exit_edit_mode" {
|
if action == "exit" {
|
||||||
// Handle exiting suggestion mode in Register view first
|
// Handle exiting suggestion mode in Register view first
|
||||||
if app_state.ui.show_register && register_state.in_suggestion_mode {
|
if app_state.ui.show_register && register_state.in_suggestion_mode {
|
||||||
let msg = auth_e::execute_edit_action(
|
let msg = auth_e::execute_edit_action(
|
||||||
@@ -111,7 +111,7 @@ pub async fn handle_edit_event(
|
|||||||
key,
|
key,
|
||||||
register_state,
|
register_state,
|
||||||
ideal_cursor_column,
|
ideal_cursor_column,
|
||||||
grpc_client, // Pass necessary args if needed by auth_e
|
grpc_client,
|
||||||
current_position,
|
current_position,
|
||||||
total_count,
|
total_count,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user