summaryrefslogtreecommitdiff
path: root/src/tui_component.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui_component.zig')
-rw-r--r--src/tui_component.zig11
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");