Skip to content

Commit

Permalink
Disable the command palette
Browse files Browse the repository at this point in the history
It's not used for anything useful in Frogmouth right now, and will also
bypass the dark/light mode sticky toggle too. This can be fixed (the code to
make that sticky pre-dates the command palette by quite some way) but given
there's no other use for the command palette at the moment I'll just disable
it.

It can come back when actual commands get implemented.
  • Loading branch information
davep committed Mar 26, 2024
1 parent ce10b57 commit 655f855
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frogmouth/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class MarkdownViewer(App[None]):
TITLE = APPLICATION_TITLE
"""The main title for the application."""

ENABLE_COMMAND_PALETTE = False

def __init__(self, cli_args: Namespace) -> None:
"""Initialise the application.
Expand Down

0 comments on commit 655f855

Please sign in to comment.