Skip to content

Commit

Permalink
Visual protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Nov 4, 2024
1 parent 69b68d1 commit d1e5fd0
Show file tree
Hide file tree
Showing 7 changed files with 465 additions and 191 deletions.
3 changes: 2 additions & 1 deletion src/textual/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
)
from textual.signal import Signal
from textual.timer import Timer
from textual.visual import SupportsTextualize
from textual.widget import AwaitMount, Widget
from textual.widgets._toast import ToastRack
from textual.worker import NoActiveWorker, get_current_worker
Expand Down Expand Up @@ -188,7 +189,7 @@
}

ComposeResult = Iterable[Widget]
RenderResult = RenderableType
RenderResult = RenderableType | SupportsTextualize

AutopilotCallbackType: TypeAlias = (
"Callable[[Pilot[object]], Coroutine[Any, Any, None]]"
Expand Down
Loading

0 comments on commit d1e5fd0

Please sign in to comment.