mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Working on open
This commit is contained in:
@@ -211,6 +211,18 @@ impl Update for FileTransferActivity {
|
||||
self.update_remote_filelist()
|
||||
}
|
||||
// -- common explorer keys
|
||||
(COMPONENT_EXPLORER_LOCAL, &MSG_KEY_SHIFT_ENTER)
|
||||
| (COMPONENT_EXPLORER_REMOTE, &MSG_KEY_SHIFT_ENTER)
|
||||
| (COMPONENT_EXPLORER_FIND, &MSG_KEY_SHIFT_ENTER) => {
|
||||
match self.browser.tab() {
|
||||
FileExplorerTab::Local => self.action_open_local(),
|
||||
FileExplorerTab::Remote => self.action_open_remote(),
|
||||
FileExplorerTab::FindLocal | FileExplorerTab::FindRemote => {
|
||||
self.action_find_open()
|
||||
}
|
||||
}
|
||||
None
|
||||
}
|
||||
(COMPONENT_EXPLORER_LOCAL, &MSG_KEY_CHAR_B)
|
||||
| (COMPONENT_EXPLORER_REMOTE, &MSG_KEY_CHAR_B) => {
|
||||
// Show sorting file
|
||||
|
||||
Reference in New Issue
Block a user