mirror of
https://github.com/veeso/termscp.git
synced 2026-09-28 06:51:20 -07:00
Migrated termscp to tui-realm 1.x
This commit is contained in:
committed by
Christian Visintin
parent
30851a78e8
commit
54b5583d1a
@@ -160,7 +160,9 @@ impl FileTransferActivity {
|
||||
// NOTE: clear screen in order to prevent crap on stderr
|
||||
if let Some(ctx) = self.context.as_mut() {
|
||||
// Clear screen
|
||||
ctx.clear_screen();
|
||||
if let Err(err) = ctx.terminal().clear_screen() {
|
||||
error!("Could not clear screen screen: {}", err);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user