# terminal_view: Fix selection columns not being clamped correctly for rendering \(\#43876\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b9c5900fb0774c8ed916c19d1209d7c7d89ac80e

Requested commit: b9c5900fb0774c8ed916c19d1209d7c7d89ac80e

Commit: b9c5900fb0774c8ed916c19d1209d7c7d89ac80e

Tree: 4f0b0ff1d8f34b40d1f6fa0080023a1cc03131b3

Author: Lukas Wirth

Committer: GitHub

## Message

```
terminal_view: Fix selection columns not being clamped correctly for rendering (#43876)

Before:


https://github.com/user-attachments/assets/3be4d451-81a6-430b-bc36-d91f4cd44c9b

After:


https://github.com/user-attachments/assets/6d64bf0c-5bd1-45be-b9d8-20118e5a25e6



Release Notes:

- Fixed rendered selections in the terminal view not being clamped to
the line start/ends correctly
```

## Parents

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

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