# Include empty selections in updating link logic on cmd/shift changed · gitcafe/zed

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

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

Visibility: public

Requested revision: 40a8c26080575a59190611567722cab9c8168953

Requested commit: 40a8c26080575a59190611567722cab9c8168953

Commit: 40a8c26080575a59190611567722cab9c8168953

Tree: 6931bcf9f0e0f24952e10d81238f50efd9c3da73

Author: ForLoveOfCats

Committer: ForLoveOfCats

## Message

```
Include empty selections in updating link logic on cmd/shift changed

Prevents an issue where pressing cmd while the mouse button is down
would create a link which would fire on mouse up if the selection was
still empty

```

## Parents

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

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