mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 01:26:04 -08:00
Fixed issue 70: Unable to type characters with CTRL+ALT
This commit is contained in:
@@ -182,7 +182,6 @@ impl SetupActivity {
|
||||
error!("Failed to disable raw mode: {}", err);
|
||||
}
|
||||
// Leave alternate mode
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
if let Some(ctx) = self.context.as_mut() {
|
||||
ctx.leave_alternate_screen();
|
||||
}
|
||||
@@ -215,7 +214,6 @@ impl SetupActivity {
|
||||
}
|
||||
}
|
||||
// Restore terminal
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
if let Some(ctx) = self.context.as_mut() {
|
||||
// Clear screen
|
||||
ctx.clear_screen();
|
||||
|
||||
Reference in New Issue
Block a user