reverse debugging backend

This commit is contained in:
0xf8 2023-05-30 00:23:52 -04:00
parent 73be0cbd4e
commit 731bf3d43e
Signed by: 0xf8
GPG Key ID: 446580D758689584

View File

@ -30,12 +30,12 @@ fn main() -> Result<()> {
let mut config: ConfigManager = ConfigManager::new(config_root, search_path)?; 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().into_alternate_screen()?);
let backend = TermionBackend::new(io::stdout()); // used for debugging // let backend = TermionBackend::new(io::stdout()); // used for debugging
let mut term = Terminal::new(backend)?; let mut term = Terminal::new(backend)?;
loop { loop {
// term.clear()?; term.clear()?;
let mut host = input::get_host(&mut config)?; let mut host = input::get_host(&mut config)?;