# GPUI custom window prompts \(\#8980\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c0edb5bd6c5f8bb9597b1d270b67fd256fcd7787

Requested commit: c0edb5bd6c5f8bb9597b1d270b67fd256fcd7787

Commit: c0edb5bd6c5f8bb9597b1d270b67fd256fcd7787

Tree: 8db7bf75708e7d1a1c5e3795ef0940a08d2408d8

Author: Mikayla Maki

Committer: GitHub

## Message

```
GPUI custom window prompts (#8980)

This adds a GPUI fallback for window prompts. Linux does not support
this feature by default, so we have to implement it ourselves.

This implementation also makes it possible for GPUI clients to override
the platform prompts with their own implementations.

This is just a first pass. These alerts are not keyboard accessible yet,
does not reflect the prompt level, they're implemented in-window, rather
than as popups, and the whole feature need a pass from a designer.
Regardless, this gets us one step closer to Linux support :)

<img width="650" alt="Screenshot 2024-03-06 at 5 58 08 PM"
src="https://github.com/zed-industries/zed/assets/2280405/972ebb55-fd1f-4066-969c-a87f63b22a6f">

Release Notes:

- N/A
```

## Parents

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

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