summaryrefslogtreecommitdiff
path: root/src/tui_components.zig
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-06-23 09:38:23 -0600
committert <t@tjp.lol>2026-06-23 10:53:26 -0600
commit69a1ee138bb78ad4663fe2d9e58678f7b0d07b74 (patch)
tree453d3ad42a07536220e6ca5d91b439ff57793e32 /src/tui_components.zig
parent538a5d926fa626a00cc3dc12c555f11f82867efd (diff)
ponytail simplifications to panto cli and lua extensiosn
Diffstat (limited to 'src/tui_components.zig')
-rw-r--r--src/tui_components.zig6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tui_components.zig b/src/tui_components.zig
index 3944ffa..837db0d 100644
--- a/src/tui_components.zig
+++ b/src/tui_components.zig
@@ -2307,10 +2307,8 @@ pub const CompactionSummary = struct {
// ===========================================================================
/// Format the header line for a tool call, given the tool's name and
-/// Render the framework-default tool header. The Zig core intentionally does
-/// not special-case extension tool names here: extension-provided tools own
-/// their display by registering `panto.ext.on("tool"/...)` handlers and
-/// calling `event:setComponent(...)` for their own names.
+/// Render the framework-default tool header. Extension-provided tools own
+/// their display by registering event handlers and setting their component.
///
/// Allocation: caller-owned; the returned slice is from `buf`.
fn formatToolHeader(name: []const u8, input_json: []const u8, buf: []u8) []const u8 {