Term
Some checks failed
Deploy to VPS / deploy (push) Failing after 53s

This commit is contained in:
2025-11-06 22:13:30 +01:00
parent 570308ae87
commit 647193a230

View File

@@ -19,7 +19,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
_ => (80, 24),
};
println!("Width: {}, Height: {}", width, height);
let use_alternate_screen = false;
let use_alternate_screen = true;
let mut stdout = stdout();
if use_alternate_screen {
execute!(stdout, EnterAlternateScreen)?;
@@ -35,6 +35,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
loop {
let blink = (blink_counter / 3) % 2 == 0;
terminal.draw(|f| ui::draw(f, &app, blink))?;
std::io::stdout().flush()?;
eprintln!("draw done");
blink_counter += 1;
let timeout = if app.show_welcome {
std::time::Duration::from_millis(70)