# ChatTextArea

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/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-code/widgets/chat_input/ChatTextArea/render_line)
- [`scroll_cursor_visible()`](https://reference.langchain.com/python/deepagents-code/widgets/chat_input/ChatTextArea/scroll_cursor_visible)
- [`set_app_focus()`](https://reference.langchain.com/python/deepagents-code/widgets/chat_input/ChatTextArea/set_app_focus)
- [`set_completion_active()`](https://reference.langchain.com/python/deepagents-code/widgets/chat_input/ChatTextArea/set_completion_active)
- [`action_insert_newline()`](https://reference.langchain.com/python/deepagents-code/widgets/chat_input/ChatTextArea/action_insert_newline)
- [`action_cursor_up()`](https://reference.langchain.com/python/deepagents-code/widgets/chat_input/ChatTextArea/action_cursor_up)
- [`action_cursor_down()`](https://reference.langchain.com/python/deepagents-code/widgets/chat_input/ChatTextArea/action_cursor_down)
- [`set_text_from_history()`](https://reference.langchain.com/python/deepagents-code/widgets/chat_input/ChatTextArea/set_text_from_history)
- [`move_cursor_to_end()`](https://reference.langchain.com/python/deepagents-code/widgets/chat_input/ChatTextArea/move_cursor_to_end)
- [`clear_text()`](https://reference.langchain.com/python/deepagents-code/widgets/chat_input/ChatTextArea/clear_text)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/d1c6946218b4f0f86ab7b02b6bb6af1e4b75cede/libs/code/deepagents_code/widgets/chat_input.py#L373)