Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Fixed type hint aliasing for App under TYPE_CHECKING https://github.com/Textualize/textual/pull/6152

### Changed

- Simplified system commands (command palette) to a single word https://github.com/Textualize/textual/pull/6183

## [6.3.0] - 2025-10-11

### Added
Expand Down
12 changes: 6 additions & 6 deletions src/textual/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ class MyApp(App[None]):
"inline": lambda app: app.is_inline,
"ansi": lambda app: app.ansi_color,
"nocolor": lambda app: app.no_color,
} # type: ignore[assignment]
}

title: Reactive[str] = Reactive("", compute=False)
"""The title of the app, displayed in the header."""
Expand Down Expand Up @@ -1256,25 +1256,25 @@ def get_system_commands(self, screen: Screen) -> Iterable[SystemCommand]:
"""
if not self.ansi_color:
yield SystemCommand(
"Change theme",
"Theme",
"Change the current theme",
self.action_change_theme,
)
yield SystemCommand(
"Quit the application",
"Quit",
"Quit the application as soon as possible",
self.action_quit,
)

if screen.query("HelpPanel"):
yield SystemCommand(
"Hide keys and help panel",
"Keys",
"Hide the keys and widget help panel",
self.action_hide_help_panel,
)
else:
yield SystemCommand(
"Show keys and help panel",
"Keys",
"Show help for the focused widget and a summary of available keys",
self.action_show_help_panel,
)
Expand All @@ -1291,7 +1291,7 @@ def get_system_commands(self, screen: Screen) -> Iterable[SystemCommand]:
)

yield SystemCommand(
"Save screenshot",
"Screenshot",
"Save an SVG 'screenshot' of the current screen",
lambda: self.set_timer(0.1, self.deliver_screenshot),
)
Expand Down
2 changes: 1 addition & 1 deletion src/textual/dom.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class DOMNode(MessagePump):
# Names of potential computed reactives
_computes: ClassVar[frozenset[str]]

_PSEUDO_CLASSES: ClassVar[dict[str, Callable[[object], bool]]] = {}
_PSEUDO_CLASSES: ClassVar[dict[str, Callable[[App[Any]], bool]]] = {}
"""Pseudo class checks."""

def __init__(
Expand Down
Loading
Loading