mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
display some keybinds in help window
This commit is contained in:
parent
38fb348d19
commit
a0cc88ff26
2 changed files with 36 additions and 9 deletions
|
|
@ -161,7 +161,15 @@ defcom! { |self, app: Tek|
|
|||
TekCommand {
|
||||
|
||||
ToggleHelp => {
|
||||
app.modal = Some(Modal::Help);
|
||||
app.modal = match app.modal {
|
||||
Some(Modal::Help) => None,
|
||||
_ => Some(Modal::Help)
|
||||
};
|
||||
None
|
||||
}
|
||||
|
||||
ToggleMenu => {
|
||||
app.modal = Some(Modal::Menu);
|
||||
None
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue