Skip to content

Commit

Permalink
words
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Aug 22, 2024
1 parent bc54961 commit 1d1e538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/command_palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ These are declared in the [`App.get_system_commands`][textual.app.App.get_system
You can implement this method in your App class to add more commands.

To declare a command, define a `get_system_commands` method on your App.
Textual will call this with the screen that was active when the user summoned the command palette.
Textual will call this method with the screen that was active when the user summoned the command palette.
You can add a command by yielding a tuple of `(TITLE, HELP TEXT, CALLABLE)`.
The `TITLE` and `HELP TEXT` values are shown in the command palette.
If the user selects that command, then Textual will invoke `CALLABLE`.
Expand Down

0 comments on commit 1d1e538

Please sign in to comment.