From 69a1ee138bb78ad4663fe2d9e58678f7b0d07b74 Mon Sep 17 00:00:00 2001 From: t Date: Tue, 23 Jun 2026 09:38:23 -0600 Subject: ponytail simplifications to panto cli and lua extensiosn --- src/tui_component.zig | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/tui_component.zig') 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"); -- cgit v1.3