mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Handle all failed using rsync while waiting for path confirmation
This commit is contained in:
parent
dc2bac0068
commit
18ed56b639
1 changed files with 5 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue