# tmuxtest.Type

- **Module:** tmuxtest
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/tmuxtest/screen.go#L115
- **Page:** https://libtmux.org/en/go/latest/reference/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.
