# agent_ui: Wrap long \`ask_user\` options \(\#63656\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 73ee8fa038377d28f041fe5ded492d5fcd46b044

Requested commit: 73ee8fa038377d28f041fe5ded492d5fcd46b044

Commit: 73ee8fa038377d28f041fe5ded492d5fcd46b044

Tree: a7e7e39dbec1dcc835240257aafc87077d1c21d8

Author: Chara

Committer: GitHub

## Message

```
agent_ui: Wrap long `ask_user` options (#63656)

# Objective

Fixes #62955

Long `ask_user` option labels are currently truncated with an ellipsis,
which can hide part of the response text.

## Solution

Remove truncation from the shared elicitation option label so it uses
the label's default multiline wrapping. This affects both single- and
multi-select options without changing selection behavior.

## Testing

- `cargo fmt --all -- --check`
- `cargo test -p agent_ui -- --nocapture` — 429 passed, 0 failed
- `cargo build -j 2 -p zed --bin zed`
- Manually reproduced the issue using a long `ask_user` option label.
- Verified that the complete label wraps without an ellipsis at wide and
narrow panel widths.

---

Release Notes:

- Fixed long `ask_user` options being truncated instead of wrapping.
```

## Parents

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

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