# LibTmux::Model::PaneRef.set-input

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/e76160bcce6e03976d49424da15b7c31afb2c68e/lib/LibTmux/Model.rakumod#L331
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-paneref-set-input/

```
method set-input(Bool:D $enabled --> Result:D)
```

Enable or disable delivery of keyboard input to this pane.

Enable or disable delivery of keyboard input to this pane.

## Parameters

- `$enabled` (`Bool:D`)

## tmux command

The tmux commands behind `set-input`.

- [`select-pane`](/en/tmux/latest/manual/select-pane/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_select_pane_entry`](/en/tmux/latest/reference/c-variable-cmd_select_pane_entry/) (attribute)
- [`cmd_select_pane_exec`](/en/tmux/latest/reference/c-function-cmd-select-pane-c-cmd_select_pane_exec/) (function)
