# LibTmux::Pane#paste

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/c8b839595d5a30e271e3f9be0d0fe811ddb11b7e/gems/libtmux/lib/libtmux/operations.rb#L381
- **Page:** https://libtmux.org/en/ruby/v0.1.0/reference/libtmux-pane-paste/

tmux command: [`paste-buffer`](/en/tmux/latest/manual/paste-buffer/)

```
def paste: (
  buffer: ::String,
  ?delete: bool,
  ?bracketed: bool,
  ?separator: ::String?,
  ?timeout: ::Numeric,
  ?cancel: untyped
) -> ::LibTmux::CommandResult
```

Behavior: Pane input and capture.

Behavior contract: Pane input and capture.

## Parameters

- `buffer` (`::String`)
- `delete` (`bool`)
- `bracketed` (`bool`)
- `separator` (`::String?`)
- `timeout` (`::Numeric`)
- `cancel` (`untyped`)
