textual.events.Paste
class
¶
Bases: Event
Event containing text that was pasted into the Textual application. This event will only appear when running in a terminal emulator that supports bracketed paste mode. Textual will enable bracketed pastes when an app starts, and disable it when the app shuts down.
- Bubbles
- Verbose
Parameters
Parameter | Default | Description |
---|---|---|
text
str
|
required | The text that has been pasted. |