Formatting

This commit is contained in:
Darren Burns
2024-11-12 11:47:28 +00:00
parent 472e94ad26
commit 1ba9a037f3
2 changed files with 4 additions and 2 deletions

View File

@@ -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)

View File

@@ -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):