glues-tui 0.8.1

TUI and WASM frontends for the Glues note-taking experience
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use {crate::App, glues_core::transition::KeymapTransition};

impl App {
    pub(super) async fn handle_keymap_transition(&mut self, transition: KeymapTransition) {
        match transition {
            KeymapTransition::Show => {
                self.context.keymap = true;
            }
            KeymapTransition::Hide => {
                self.context.keymap = false;
            }
        }
    }
}