glim-tui 0.1.0

A TUI for monitoring GitLab CI/CD pipelines and projects
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::event::GlimEvent;
use crate::ui::StatefulWidgets;

pub trait InputProcessor {
    fn apply(
        &mut self,
        event: &GlimEvent,
        ui: &mut StatefulWidgets,
    );

    fn on_pop(&self);
    fn on_push(&self);
}