diff options
| author | t <t@tjp.lol> | 2026-06-23 09:38:23 -0600 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-06-23 10:53:26 -0600 |
| commit | 69a1ee138bb78ad4663fe2d9e58678f7b0d07b74 (patch) | |
| tree | 453d3ad42a07536220e6ca5d91b439ff57793e32 /src/tui_component.zig | |
| parent | 538a5d926fa626a00cc3dc12c555f11f82867efd (diff) | |
ponytail simplifications to panto cli and lua extensiosn
Diffstat (limited to 'src/tui_component.zig')
| -rw-r--r-- | src/tui_component.zig | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/tui_component.zig b/src/tui_component.zig index b213e3f..2a2aaa0 100644 --- a/src/tui_component.zig +++ b/src/tui_component.zig @@ -1,14 +1,9 @@ //! The core component contract for the TUI. //! -//! Dispatch is a vtable of function pointers over `*anyopaque` (decided in -//! plan ยง4.5; a tagged union was rejected so out-of-tree extensions can define -//! their own components later without editing a central enum). +//! Dispatch is a vtable of function pointers over `*anyopaque`. //! -//! The render engine (later sub-phase) holds a list of `Component`s, asks each -//! to `render(width)` into lines, and uses `firstLineChanged` to do a -//! differential repaint. This file defines only the interface plus a small -//! reusable cache/dirty mixin; it implements no concrete components and no -//! engine. +//! The render engine holds a list of `Component`s, asks each to render, and +//! uses `firstLineChanged` to do a differential repaint. const std = @import("std"); |
