# PasteBurstTextArea

> **Class** in `deepagents_code`

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

`TextArea` that detects paste-like keystroke bursts.

Subclasses drive the state machine from their own `_on_key` by calling the
helper methods here, and override the policy hooks
(`_in_slash_command_context`, `_dispatch_burst_payload`) as needed. The base
inserts a flushed burst verbatim; collapsing into placeholders is layered on
by `CollapsingPasteTextArea`.

## Signature

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

## Extends

- `TextArea`

## Constructors

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

| Name | Type |
|------|------|
| `kwargs` | `Any` |


## Properties

- `BINDINGS`

## Methods

- [`action_insert_newline()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/_paste_textarea/PasteBurstTextArea/action_insert_newline)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/2069079e09546060f5b52b2cd4f0e3c813e820f3/libs/code/deepagents_code/tui/widgets/_paste_textarea.py#L98)