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