# tmux.Pane.SendKeys

- **Module:** tmux.Pane
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/pane_input.go#L135
- **Page:** https://libtmux.org/reference/go/tmux-pane-sendkeys/

```
tmux.Pane.SendKeys(ctx: context.Context, request: SendKeysRequest) -> error
```

SendKeys invokes tmux send-keys with the receiver's exact linked session-window-pane target. This is tmux key input, not shell execution: Literal only changes tmux key parsing, and any delivered text may still be interpreted by the pane's application. KeyName routes through a client's key table instead of delivering to the pane.

KeyName and TargetClient require tmux 3.4 and follow [UnsupportedPolicy].

Completed exit status and stderr are ignored. Transport and context errors
are delivery-ambiguous, including between Command and the separate Enter.
