mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Restore input mode once download/upload finishes
This commit is contained in:
@@ -415,6 +415,8 @@ impl FileTransferActivity {
|
||||
}
|
||||
}
|
||||
}
|
||||
// Eventually, Reset input mode to explorer
|
||||
self.input_mode = InputMode::Explorer;
|
||||
}
|
||||
|
||||
/// ### filetransfer_recv
|
||||
@@ -543,6 +545,8 @@ impl FileTransferActivity {
|
||||
}
|
||||
}
|
||||
}
|
||||
// Eventually, Reset input mode to explorer
|
||||
self.input_mode = InputMode::Explorer;
|
||||
}
|
||||
|
||||
/// ### log
|
||||
@@ -1161,13 +1165,6 @@ impl FileTransferActivity {
|
||||
/// Self titled
|
||||
fn callback_nothing_to_do(&mut self) {}
|
||||
|
||||
/// ### callback_force_input_mode_to_explorer
|
||||
///
|
||||
/// force input mode to explorer
|
||||
fn callback_force_input_mode_to_explorer(&mut self) {
|
||||
self.input_mode = InputMode::Explorer;
|
||||
}
|
||||
|
||||
/// ### callback_change_directory
|
||||
///
|
||||
/// Callback for GOTO command
|
||||
|
||||
Reference in New Issue
Block a user