# Use terminal.background behind terminal tool call output \(\#64163\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0be555891259d06b1c20f475e3f5654fa4797da7)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0be555891259d06b1c20f475e3f5654fa4797da7

Requested commit: 0be555891259d06b1c20f475e3f5654fa4797da7

Commit: 0be555891259d06b1c20f475e3f5654fa4797da7

Tree: a977fd04f72d7785de5822840b47dc19c1a75a9e

Author: Chris Drackett

Committer: GitHub

## Message

```
Use terminal.background behind terminal tool call output (#64163)

Right now there is some margin that uses `editor background` above the
output of the terminal that carries `terminal_background`. If the editor
uses a light background and the terminal is dark you'll end up with a
light area of margin above the dark terminal. The terminal background
also clips the rounded border of the box. This patch switches this to
match the terminal background and makes sure the background never clips
the rounded border.

Before:
<img width="720" height="212" alt="Screenshot 000044 in Zed@2x"
src="https://github.com/user-attachments/assets/333a0e17-2869-4cc9-b696-f24eec8630aa"
/>


After: 
<img width="646" height="228" alt="Screenshot 000050 in zed@2x"
src="https://github.com/user-attachments/assets/54293de1-bc64-450f-b354-e64ba0e3d5e9"
/>

Release Notes:

- Fixed terminal tool output in the Agent Panel to consistently use the
theme’s `terminal.background` color.

---------

Co-authored-by: dino <dinojoaocosta@gmail.com>
```

## Parents

- [07df4386262dc3465649e26b68a9d12647b1d6d2](https://git.cafe/gitcafe/zed/commit/07df4386262dc3465649e26b68a9d12647b1d6d2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0be555891259d06b1c20f475e3f5654fa4797da7?format=markdown)
