# agent_ui: Remove redundant non-empty check \(\#64589\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 18ad8d11958cba96af95dae5ef4b14a972f6b650

Requested commit: 18ad8d11958cba96af95dae5ef4b14a972f6b650

Commit: 18ad8d11958cba96af95dae5ef4b14a972f6b650

Tree: 7f3eef73aee16fb6c88f192fab0f45500b8817e0

Author: Neel

Committer: GitHub

## Message

```
agent_ui: Remove redundant non-empty check (#64589)

This is already handled a few lines below, and early returns on an empty
selection which breaks the `Ctrl + >` shortcut.

Release Notes:

- Allow `Ctrl + >` to be used with empty selections.
```

## Parents

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

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