summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-term/src/application.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index ddf9e8d6..bc5f3bd7 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -683,6 +683,7 @@ impl Application {
terminal::enable_raw_mode()?;
let mut stdout = stdout();
execute!(stdout, terminal::EnterAlternateScreen)?;
+ execute!(stdout, terminal::Clear(terminal::ClearType::All))?;
if self.config.load().editor.mouse {
execute!(stdout, EnableMouseCapture)?;
}