tui-pages 0.7.1

Core for TUI apps with multiple pages
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct CommandHint {
    pub alias: String,
    pub action_name: String,
}

#[derive(Debug, Clone, PartialEq, Eq)]
pub enum CommandResponse<A> {
    Execute(A),
    Incomplete(Vec<CommandHint>),
    Unknown,
    Empty,
}