# Typing

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/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/d1c6946218b4f0f86ab7b02b6bb6af1e4b75cede/libs/code/deepagents_code/widgets/chat_input.py#L1307)