summaryrefslogtreecommitdiff
path: root/src/tui_event.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui_event.zig')
-rw-r--r--src/tui_event.zig2
1 files changed, 2 insertions, 0 deletions
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 = "",