# ChatTextArea

> **Class** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/widgets/chat_input/ChatTextArea)

TextArea subclass with custom key handling for chat input.

## Signature

```python
ChatTextArea(
    self,
    **kwargs: Any = {},
)
```

## Extends

- `TextArea`

## Constructors

```python
__init__(
    self,
    **kwargs: Any = {},
) -> None
```


## Properties

- `BINDINGS`
- `argument_hint`

## Methods

- [`render_line()`](https://reference.langchain.com/python/deepagents-cli/widgets/chat_input/ChatTextArea/render_line)
- [`scroll_cursor_visible()`](https://reference.langchain.com/python/deepagents-cli/widgets/chat_input/ChatTextArea/scroll_cursor_visible)
- [`set_app_focus()`](https://reference.langchain.com/python/deepagents-cli/widgets/chat_input/ChatTextArea/set_app_focus)
- [`set_completion_active()`](https://reference.langchain.com/python/deepagents-cli/widgets/chat_input/ChatTextArea/set_completion_active)
- [`action_insert_newline()`](https://reference.langchain.com/python/deepagents-cli/widgets/chat_input/ChatTextArea/action_insert_newline)
- [`set_text_from_history()`](https://reference.langchain.com/python/deepagents-cli/widgets/chat_input/ChatTextArea/set_text_from_history)
- [`clear_text()`](https://reference.langchain.com/python/deepagents-cli/widgets/chat_input/ChatTextArea/clear_text)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/0b13f3e0e2726fdb7bbe1e0cf88dac76dbd43b01/libs/cli/deepagents_cli/widgets/chat_input.py#L324)