# Typing

> **Class** in `deepagents_code`

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

Posted when the user presses a printable key or backspace in the input.

The app uses this to delay approval widgets while the user is actively
typing, preventing accidental key presses (e.g. `y`, `n`) from
triggering approval decisions.

## Signature

```python
Typing()
```

## Extends

- `Message`

---

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