mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Handle transfer aborted
This commit is contained in:
@@ -560,6 +560,12 @@ impl FileTransferActivity {
|
|||||||
self.umount_help();
|
self.umount_help();
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
// -- progress bar
|
||||||
|
(COMPONENT_PROGRESS_BAR, &MSG_KEY_CTRL_C) => {
|
||||||
|
// Set transfer aborted to True
|
||||||
|
self.transfer.aborted = true;
|
||||||
|
None
|
||||||
|
}
|
||||||
// -- fallback
|
// -- fallback
|
||||||
(_, _) => None, // Nothing to do
|
(_, _) => None, // Nothing to do
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user