mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
docs: add more doc strings
This commit is contained in:
parent
317547c6b2
commit
107e38278e
15 changed files with 40 additions and 16 deletions
|
|
@ -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()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue