# tmuxtest.Type

- **Module:** tmuxtest
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/tmuxtest/screen.go#L123
- **Page:** https://libtmux.org/reference/go/tmuxtest-type/

```
tmuxtest.Type(ctx: context.Context, t: testing.TB, pane: tmux.Pane, command: string)
```

Type sends command to the pane and submits it, as a person at the keyboard would.

command is sent literally. Type returns when tmux accepts the keys, before the
shell finishes; follow it with a wait when completion matters.
