# Rework terminal highlight mechanism \(\#2743\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c5e47f27f5b6706ca50f196c6d7d79b2b36d57ac

Requested commit: c5e47f27f5b6706ca50f196c6d7d79b2b36d57ac

Commit: c5e47f27f5b6706ca50f196c6d7d79b2b36d57ac

Tree: e170c67f1c1610fa979f9c0d24c4e811be96d563

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Rework terminal highlight mechanism (#2743)

<img width="807" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/ef3bfeef-28f5-458f-abe6-7c19bf820106">

Closes https://github.com/zed-industries/community/issues/10
Closes https://github.com/zed-industries/community/issues/560

Initial version of improved terminal highlights and "open link"
functionality: drops old behavior where URLs were highlighted on hover.
Now, Cmd + hover is needed to highlight the links and click opens both
URLs and files that exist (either abs paths, or anything relative to the
project workspace worktree roots).
Only paths eligible for opening are highlighted.

Release Notes:

- Improved terminal highlights and selections: Cmd+Click opens local
files and links
```

## Parents

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

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

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