tui-canvas 0.7.5

Form/textarea for TUI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub(crate) enum KeybindingParadigm {
    #[default]
    Vim,
    Helix,
    Emacs,
}

impl KeybindingParadigm {
    pub(crate) fn is_helix(self) -> bool {
        matches!(self, Self::Helix)
    }
}