forked from kent/consciousness
Drop Send bound from TUI screens
This commit is contained in:
parent
5e69a0c153
commit
bd982a124c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue