# io.github.libtmux.kotlin.Pane.paste

- **Module:** io.github.libtmux.kotlin
- **Package:** io.github.libtmux:libtmux-kotlin
- **Language:** Kotlin
- **Kind:** method
- **Source:** https://libtmux.org/en/kotlin/latest/reference/sources/libtmux-kotlin/build/generated/sources/operations/kotlin/io/github/libtmux/kotlin/PaneOperations.kt
- **Page:** https://libtmux.org/en/kotlin/latest/reference/io-github-libtmux-kotlin-pane-paste/

```
public suspend fun Pane.paste(text: String): Unit

public suspend fun Pane.paste(text: String, beforePaste: Runnable): Unit
```

Pastes text into this pane as one block, leaving nothing behind on the server.

## Parameters

- `text` (`String`)
- `beforePaste` (`Runnable`) (for `paste(text, beforePaste)`)
