mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
This commit is contained in:
parent
85a144798b
commit
cdeb355972
2 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
(@esc menu)
|
||||
(@f1 help)
|
||||
(@esc toggle-menu)
|
||||
(@f1 toggle-help)
|
||||
|
||||
(@u undo 1)
|
||||
(@shift-u redo 1)
|
||||
|
|
|
|||
|
|
@ -203,11 +203,11 @@ handle!(TuiIn: |self: App, input|Ok(if let Some(command) = self.config.keys.comm
|
|||
}
|
||||
|
||||
#[tengri_proc::command(App)] impl AppCommand {
|
||||
fn toggle_help (app: &mut App, value: bool) -> Perhaps<Self> {
|
||||
fn toggle_help (app: &mut App) -> Perhaps<Self> {
|
||||
app.toggle_dialog(Some(Dialog::Help));
|
||||
Ok(None)
|
||||
}
|
||||
fn toggle_menu (app: &mut App, value: bool) -> Perhaps<Self> {
|
||||
fn toggle_menu (app: &mut App) -> Perhaps<Self> {
|
||||
app.toggle_dialog(Some(Dialog::Menu));
|
||||
Ok(None)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue