Drop Send bound from TUI screens

This commit is contained in:
Kent Overstreet 2026-06-15 12:31:28 -05:00
commit bd982a124c

View file

@ -74,7 +74,7 @@ fn truncate(s: &str, max: usize) -> String {
}
/// A screen that can draw itself and handle input.
trait ScreenView: Send {
trait ScreenView {
fn tick(&mut self, frame: &mut ratatui::Frame, area: ratatui::layout::Rect,
events: &[ratatui::crossterm::event::Event], app: &mut App);
fn label(&self) -> &'static str;