From 28cb3eacfcf1217b4d014dd864005deb2d7f0585 Mon Sep 17 00:00:00 2001 From: t Date: Tue, 16 Jun 2026 11:49:54 -0600 Subject: tool collapsed state, and fixing dirty component flags --- src/tui_event.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tui_event.zig') diff --git a/src/tui_event.zig b/src/tui_event.zig index 70d2fca..c32db39 100644 --- a/src/tui_event.zig +++ b/src/tui_event.zig @@ -211,6 +211,8 @@ pub const Payload = union(enum) { input: []const u8 = "", /// Tool result text for `tool_result`; empty otherwise. output: []const u8 = "", + /// Whether tool output should render collapsed at this boundary. + collapsed: bool = true, }; pub const Compaction = struct { summary: []const u8 = "", -- cgit v1.3