fix(bsp, event): pub; don't panic

This commit is contained in:
AAAAAAAAAAAAAAAAAAAAAAAAAAAA 2026-01-17 01:12:33 +02:00
parent 8c54510f63
commit b0d2fad17b
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
use crate::*;
#[derive(Debug, Clone, Eq, PartialEq, PartialOrd)] pub struct TuiEvent(Event);
#[derive(Debug, Clone, Eq, PartialEq, PartialOrd)] pub struct TuiEvent(pub Event);
impl Ord for TuiEvent {
fn cmp (&self, other: &Self) -> std::cmp::Ordering {
self.partial_cmp(other)