mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Disconnect, don't quit on fatal error
This commit is contained in:
@@ -1060,7 +1060,7 @@ impl FileTransferActivity {
|
|||||||
match key.code {
|
match key.code {
|
||||||
KeyCode::Enter => {
|
KeyCode::Enter => {
|
||||||
// Set quit to true; since a fatal error happened
|
// Set quit to true; since a fatal error happened
|
||||||
self.quit = true;
|
self.disconnect();
|
||||||
}
|
}
|
||||||
_ => { /* Nothing to do */ }
|
_ => { /* Nothing to do */ }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user