# AskUserTextArea

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/ask_user/AskUserTextArea)

Free-form answer input for ask-user questions.

Adds two behaviors over the shared base:

- When the cursor is on the first or last line of a choice question's Other
  free-text input, Up/Down are handed back to the enclosing choice list
  instead of moving the text cursor.
- Escape deselects the checked custom multi-select option that owns this
  field (via the `uncheck_other` binding), instead of cancelling the whole
  prompt. `check_action` keeps the binding unmatched otherwise, so Escape
  still bubbles to `AskUserMenu.action_cancel`.

## Signature

```python
AskUserTextArea()
```

## Extends

- `InlinePromptTextArea`

## Properties

- `DEFAULT_CSS`
- `BINDINGS`

## Methods

- [`check_action()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/ask_user/AskUserTextArea/check_action)
- [`action_uncheck_other()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/ask_user/AskUserTextArea/action_uncheck_other)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/1425cf0b7c5e88bff8735778af82cf5c90564085/libs/code/deepagents_code/tui/widgets/ask_user.py#L81)