smart way, but introduced many errors
This commit is contained in:
@@ -7,10 +7,10 @@ use crate::state::pages::form::FormState;
|
||||
use crate::services::grpc_client::GrpcClient;
|
||||
use crate::tui::functions::common::form::{save, revert};
|
||||
|
||||
pub async fn handle_edit_event_internal(
|
||||
pub async fn handle_edit_event_internal<S: CanvasState>(
|
||||
key: KeyEvent,
|
||||
config: &Config,
|
||||
form_state: &mut FormState,
|
||||
state: &mut S,
|
||||
ideal_cursor_column: &mut usize,
|
||||
command_message: &mut String,
|
||||
is_saved: &mut bool,
|
||||
|
||||
Reference in New Issue
Block a user