# Block extra drag events in original drag handlers \(\#2793\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b8a2a2ecd36f1bec741054cd65eb7f7067a14e8c

Requested commit: b8a2a2ecd36f1bec741054cd65eb7f7067a14e8c

Commit: b8a2a2ecd36f1bec741054cd65eb7f7067a14e8c

Tree: 37b0d8f06b09f94e2e06bb903ed2ed38a4113fd3

Author: Mikayla Maki

Committer: GitHub

## Message

```
Block extra drag events in original drag handlers (#2793)

In https://github.com/zed-industries/zed/pull/2790 I added an extra drag
event on mouse_up which signaled the end of a drag event, as mouse_up
event themselves wouldn't reliably fire if users moved their mouse too
quickly. This broke the assumptions of the terminal element. This PR
adds filters to all current on_drag handlers which removes this new
event.

Release Notes:

- Fixed a bug causing terminal links to never open (preview only)
- Fixed a bug in terminal link detection causing it to miss files with a
`-` in it
```

## Parents

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

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

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