# Fix terminal line background being reset on each line \(\#7040\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b865db455db19e192746980aee0e2c32c286afc7

Requested commit: b865db455db19e192746980aee0e2c32c286afc7

Commit: b865db455db19e192746980aee0e2c32c286afc7

Tree: 21144da4e0f2168f00cb44a406c7f4668402a58b

Author: Robert Clover

Committer: GitHub

## Message

```
Fix terminal line background being reset on each line (#7040)

Release Notes:

- Fixed #5027
- Fixed #5079

Info:

The terminal draws a rectangle for the background color of cells, but
this was being reset on every line. The effect of this was that tools
like Vim, Helix, and git-delta would only have one line with a
background color:

<img width="979" alt="Screenshot 2024-01-30 at 2 48 13 pm"
src="https://github.com/zed-industries/zed/assets/52195359/ab1873d2-0653-44c6-9406-bc2a277d9a2f">

After this change:

<img width="1011" alt="Screenshot 2024-01-30 at 2 49 45 pm"
src="https://github.com/zed-industries/zed/assets/52195359/6e4d2a70-590b-48b0-a464-4c827f55622e">
```

## Parents

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

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