# types.CommandWaitOptions

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** interface
- **Source:** https://github.com/libtmux/libtmux-ts/blob/ad09eaef7ffff40f510989ee0695852c44a31576/packages/libtmux/src/types.ts#L636
- **Page:** https://libtmux.org/en/ts/latest/reference/types-commandwaitoptions/

Options for [`Pane.waitForCommand`](/en/ts/latest/reference/pane-pane-waitforcommand/).

## Members

### Other members

- [`send`](/en/ts/latest/reference/types-commandwaitoptions-send/) (property): A command line to type into the shell, with Enter, once the wait is listening, so even a command that ends at once is seen. Without it, the wait is for the next command to finish, whoever typed it.
