# remote_connection: Add visibility toggle to password prompt \(\#52297\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4add7819dcb0c6e8acc4f2de9e49fadb8625bc68

Requested commit: 4add7819dcb0c6e8acc4f2de9e49fadb8625bc68

Commit: 4add7819dcb0c6e8acc4f2de9e49fadb8625bc68

Tree: ecee187555255b78ac10d6e5696c3b35ebac57d2

Author: Xiaobo Liu

Committer: GitHub

## Message

```
remote_connection: Add visibility toggle to password prompt (#52297)

This adds an eye icon button to the right of the password input field
when connecting to a remote device, allowing users to toggle the
visibility of the typed password. The toggle defaults to masked and only
appears for actual password prompts, avoiding yes/no confirmations.

After modification, an eye button has been added:


https://github.com/user-attachments/assets/76fb5a89-0aa3-4017-b050-d6bb9c2ad4a8

--- 

Release Notes:

- Added a toggle to control password visibility when connecting to a
remote project.

---------

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
```

## Parents

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

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