From 3279d6395279d14fc3d1fa82d3763b37bdbcdd0d Mon Sep 17 00:00:00 2001 From: kageru Date: Fri, 24 Jan 2020 13:23:51 +0100 Subject: [PATCH] Clear terminal on exit --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 97d2dad..1ab259c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,6 +33,7 @@ fn main() -> Result<(), io::Error> { Mode::Normal => match input { Key::Char('q') => { tracc.persist(); + terminal.clear()?; break; }, Key::Char('j') => tracc.selection_down(),