mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Formatting
This commit is contained in:
@@ -1253,7 +1253,7 @@ class App(Generic[ReturnType], DOMNode):
|
||||
def _invalidate_css(self) -> None:
|
||||
"""Invalidate CSS, so it will be refreshed."""
|
||||
self._css_update_count += 1
|
||||
|
||||
|
||||
def watch_ansi_theme_dark(self, theme: TerminalTheme) -> None:
|
||||
if self.current_theme.dark:
|
||||
self._refresh_truecolor_filter(theme)
|
||||
|
||||
@@ -342,7 +342,9 @@ class SimpleCommand(NamedTuple):
|
||||
"""The description of the command."""
|
||||
|
||||
|
||||
CommandListItem: TypeAlias = "SimpleCommand | tuple[str, IgnoreReturnCallbackType, str | None] | tuple[str, IgnoreReturnCallbackType]"
|
||||
CommandListItem: TypeAlias = (
|
||||
"SimpleCommand | tuple[str, IgnoreReturnCallbackType, str | None] | tuple[str, IgnoreReturnCallbackType]"
|
||||
)
|
||||
|
||||
|
||||
class SimpleProvider(Provider):
|
||||
|
||||
Reference in New Issue
Block a user