Skip to content

Commit

Permalink
Added constant descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
salt-die committed Sep 15, 2024
1 parent c31d537 commit 25c1d0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/batgrl/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@
__all__ = ["App", "run_gadget_as_app"]

_CTRL_C: Final[KeyEvent] = KeyEvent("c", ctrl=True)
"""Keybind for exiting the app."""
_TAB: Final[KeyEvent] = KeyEvent("tab")
"""Keybind for focusing next focusable."""
_SHIFT_TAB: Final[KeyEvent] = KeyEvent("tab", shift=True)
"""Keybind for focusing previous focusable."""


class App(ABC):
Expand Down

0 comments on commit 25c1d0d

Please sign in to comment.