Handle all failed using rsync while waiting for path confirmation

This commit is contained in:
Kovid Goyal 2021-11-17 11:28:19 +05:30
parent dc2bac0068
commit 18ed56b639
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -518,8 +518,12 @@ class Send(Handler):
if self.check_paths_printed and not self.transmit_started:
if text.lower() == 'y':
self.start_transfer()
if self.manager.all_acknowledged:
self.refresh_progress()
self.transfer_finished()
return
if text.lower() == 'n':
del self.failed_files[:]
self.abort_transfer()
self.print('Sending cancel request to terminal')
return
@ -530,6 +534,7 @@ class Send(Handler):
return
if key_event.matches('esc'):
if self.check_paths_printed and not self.transmit_started:
del self.failed_files[:]
self.abort_transfer()
self.print('Sending cancel request to terminal')
else: