rework message styling (#2877)
https://github.com/user-attachments/assets/cf07f62b-1895-44bb-b9c3-7a12032eb371
This commit is contained in:
@@ -510,6 +510,7 @@ impl Tui {
|
||||
}
|
||||
}
|
||||
|
||||
// Use synchronized update via backend instead of stdout()
|
||||
std::io::stdout().sync_update(|_| {
|
||||
#[cfg(unix)]
|
||||
{
|
||||
@@ -560,8 +561,7 @@ impl Tui {
|
||||
}
|
||||
terminal.draw(|frame| {
|
||||
draw_fn(frame);
|
||||
})?;
|
||||
Ok(())
|
||||
})
|
||||
})?
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user