mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 18:14:11 +02:00
clear screen on start
This commit is contained in:
parent
8dafab4c15
commit
8f310cadcf
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ pub fn run_ui(app: App) -> Result<(), UiError> {
|
|||
enable_raw_mode()?;
|
||||
stdout().execute(EnterAlternateScreen)?;
|
||||
let mut terminal = Terminal::new(CrosstermBackend::new(stdout()))?;
|
||||
terminal.clear().ok();
|
||||
|
||||
let mut ui_state = UiState::new(&app);
|
||||
let mut update = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue