From 731bf3d43e007dc0623e75b1fbcdb42e11bcb27a Mon Sep 17 00:00:00 2001 From: 0xf8 <0xf8.dev@proton.me> Date: Tue, 30 May 2023 00:23:52 -0400 Subject: [PATCH] reverse debugging backend --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index ae803ed..b4a35ab 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,12 +30,12 @@ fn main() -> Result<()> { let mut config: ConfigManager = ConfigManager::new(config_root, search_path)?; -// let backend = TermionBackend::new(io::stdout().into_alternate_screen()?); - let backend = TermionBackend::new(io::stdout()); // used for debugging + let backend = TermionBackend::new(io::stdout().into_alternate_screen()?); +// let backend = TermionBackend::new(io::stdout()); // used for debugging let mut term = Terminal::new(backend)?; loop { -// term.clear()?; + term.clear()?; let mut host = input::get_host(&mut config)?;