refactor: tui.rs extract several pieces (#7461)

Pull FrameRequester out of tui.rs into its own module and make a
FrameScheduler struct. This is effectively an Actor/Handler approach
(see https://ryhl.io/blog/actors-with-tokio/). Adds tests and docs.

Small refactor of pending_viewport_area logic.
This commit is contained in:
Josh McKinney authored and GitHub committed 2025-12-02 15:19:27 -08:00
1 parent ec93b6daf3
commit 58e1e570fa
4 files changed
+283 -100

No files matched your search

+2
View File
@@ -1615,6 +1615,7 @@ dependencies = [
"textwrap 0.16.2",
"tokio",
"tokio-stream",
"tokio-util",
"toml",
"tracing",
"tracing-appender",
@@ -6600,6 +6601,7 @@ dependencies = [
"futures-sink",
"futures-util",
"pin-project-lite",
"slab",
"tokio",
]