# agent_ui: Disable "Copy Selection" when no text is selected \(\#47997\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e74ceba097155557b5f1b02933840dda23225d4d

Requested commit: e74ceba097155557b5f1b02933840dda23225d4d

Commit: e74ceba097155557b5f1b02933840dda23225d4d

Tree: 183a6f4d94a8a75f37b74f7ce6e63185eb9d74a0

Author: Xiaobo Liu

Committer: GitHub

## Message

```
agent_ui: Disable "Copy Selection" when no text is selected (#47997)

Release Notes:

- Agent: Improved the "Copy Selection" right-click menu item by
disabling it when there are no selections.

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
```

## Parents

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

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