diff options
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 = .{ |
