mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Ctrl+Q quit; <esc> just disconnect
This commit is contained in:
@@ -76,6 +76,14 @@ impl FileTransferActivity {
|
||||
self.disconnected = true;
|
||||
}
|
||||
|
||||
/// ### disconnect_and_quit
|
||||
///
|
||||
/// disconnect from remote and then quit
|
||||
pub(super) fn disconnect_and_quit(&mut self) {
|
||||
self.disconnect();
|
||||
self.quit = true;
|
||||
}
|
||||
|
||||
/// ### reload_remote_dir
|
||||
///
|
||||
/// Reload remote directory entries
|
||||
|
||||
Reference in New Issue
Block a user