neptune-dashboard 0.6.0

neptune-cash tui dashboard and wallet
1
2
3
4
5
6
7
8
9
10
11
use std::sync::Arc;

use super::dashboard_app::DashboardEvent;

pub trait Screen {
    fn activate(&mut self) {}
    fn deactivate(&mut self) {}
    fn focus(&mut self) {}
    fn unfocus(&mut self) {}
    fn escalatable_event(&self) -> Arc<std::sync::Mutex<Option<DashboardEvent>>>;
}