forked from kageru/tracc
Clear terminal on exit
This commit is contained in:
parent
05ed013485
commit
3279d63952
|
@ -33,6 +33,7 @@ fn main() -> Result<(), io::Error> {
|
||||||
Mode::Normal => match input {
|
Mode::Normal => match input {
|
||||||
Key::Char('q') => {
|
Key::Char('q') => {
|
||||||
tracc.persist();
|
tracc.persist();
|
||||||
|
terminal.clear()?;
|
||||||
break;
|
break;
|
||||||
},
|
},
|
||||||
Key::Char('j') => tracc.selection_down(),
|
Key::Char('j') => tracc.selection_down(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user