Skip to content

Commit

Permalink
fix(jans-cli-tui): f4 to close dialog (#4736)
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar authored Apr 26, 2023
1 parent 80274ff commit 2f2d094
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/admin/config-guide/jans-tui/navigation-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Open help dialog (currently, help dialog is static, in the near future it will d

![f1](https://user-images.githubusercontent.com/63171603/210387872-099413f4-5e33-43e9-86c7-440e55c9f85c.png)

* `ESC` :
Close any dialog or even nested dialog
* `ESC`, `f4` :
Closes any dialog, even nested dialogs

![esc](https://user-images.githubusercontent.com/63171603/210389011-97da92b1-57b8-4628-9810-3a571255ea20.gif)

Expand Down
1 change: 1 addition & 0 deletions jans-cli-tui/cli_tui/jans_cli_tui.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ def set_keybindings(self) -> None:
self.bindings.add('c-c')(do_exit)
self.bindings.add('c-q')(do_exit)
self.bindings.add('f1')(self.help)
self.bindings.add('f4')(self.escape)
self.bindings.add('escape')(self.escape)
self.bindings.add('s-up')(self.up)
self.bindings.add(Keys.Vt100MouseEvent)(self.mouse)
Expand Down

0 comments on commit 2f2d094

Please sign in to comment.