Expand description
Re-exports§
pub use crate::renderer::RenderStats;
Structs§
- Backend
Stats - frame pushed at the terminal. Because ratatui diffs buffers before flushing,
cells_drawncounts only cells that actually changed — a frame that repaints a settled screen costs nothing. - Fake
Executor - A deterministic command runner for integration tests.
- Fake
Filesystem - An in-memory filesystem used by command-oriented tests.
- FakeGit
- A small stateful Git model. It keeps working-tree, index, and committed snapshots separate so staging and discarding have observable semantics.
- Fake
GitFile - Instrumented
Backend - TestUi
- A whole UI scenario: the app, the renderer that owns its scrollback, the terminal it draws into, and the receiver for the commands the app sends.
- Test
UiBuilder - Builds a
TestUi: the terminal dimensions plus every app-scenario option a test cares about. Defaults match a plainmake_app()-style scenario.
Enums§
- Backend
Event - Stream
Content - The shape of message
TestUi::stream_messagestreams.
Functions§
- assert_
buffer_ eq - Asserts
buffer’s visible text matchesexpectedrow-by-row after trimming trailing spaces, panicking on the first mismatched line with the full buffer dumped. - buffer_
text - chunk_
message - compaction_
update - context_
cleared - git_
diff_ screen - has_
cell - Whether any cell drawn with
symbolsatisfiespredicate. - line_
text - numbered_
lines - render_
surface - row_
cells - row_
containing - row_
text - rows_
with_ background - How many rows contain at least one cell with
background. - session_
update - sub_
agent_ progress - sub_
agent_ tool_ update - text_
chunk - text_
chunk_ with_ id - text_
diff - thought_
chunk - thought_
chunk_ with_ id - tool_
completed - tool_
status