summaryrefslogtreecommitdiff
path: root/src/tui_components.zig
diff options
context:
space:
mode:
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 {