reverse debugging backend
This commit is contained in:
parent
73be0cbd4e
commit
731bf3d43e
@ -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)?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user