# terminal: Add backend-neutral terminal types \(\#57483\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 94f36f54a7f198f78e8ed8e54205556d9bf3a8eb

Requested commit: 94f36f54a7f198f78e8ed8e54205556d9bf3a8eb

Commit: 94f36f54a7f198f78e8ed8e54205556d9bf3a8eb

Tree: c24dfb4db874318640d2c622b0dbb3381ef49321

Author: Ben Brandt

Committer: GitHub

## Message

```
terminal: Add backend-neutral terminal types (#57483)

Refactor to isolate alacritty types into the terminal crate and offers
comparable apis where needed for similar functionality. However, these
are Zed-owned types instead of the dependency leaking across multiple
crates, making alacritty an implementation detail of the terminal crate.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
```

## Parents

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

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