diff options
| author | t <t@tjp.lol> | 2026-06-09 15:24:41 -0600 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-06-09 19:26:07 -0600 |
| commit | f7503987e6aa4e96ade35bc7f1400ff8b2510e28 (patch) | |
| tree | cf723819027a918dc1d4f4b5b23805c9617dbc91 /src/tui_app.zig | |
| parent | af5119901997774ef7d04b1940194ce54a5b35a4 (diff) | |
color theme
Diffstat (limited to 'src/tui_app.zig')
| -rw-r--r-- | src/tui_app.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tui_app.zig b/src/tui_app.zig index c99985b..dbcf8f9 100644 --- a/src/tui_app.zig +++ b/src/tui_app.zig @@ -880,6 +880,7 @@ pub const App = struct { defer text.deinit(self.alloc); try tr.appendTextInto(self.alloc, &text); try box.setOutput(text.items); + box.setResultOk(!tr.is_error); // Fire `tool_result` — the atomic result landed. This is the // terminal tool-lifecycle event (after `tool_call_complete`). try self.fireToolLifecycle(box, .tool_result, "tool_result", .{ .tool = .{ |
