docs: add more doc strings

This commit is contained in:
🪞👃🪞 2024-07-12 20:21:07 +03:00
parent 317547c6b2
commit 107e38278e
15 changed files with 40 additions and 16 deletions

View file

@ -1,5 +1,6 @@
use crate::{core::*, model::{App, AppFocus}};
/// Generic key bindings for views that support focus.
pub const KEYMAP_FOCUS: &'static [KeyBinding<App>] = keymap!(App {
[Char(';'), NONE, "command", "open command palette", |app: &mut App| {
app.modal = Some(Box::new(crate::view::HelpModal::new()));