Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

function libtmux-go latest

TypeAndWait

TypeAndWait sends command to the pane and blocks until it has finished.

Source and package
Qualified name
tmuxtest.TypeAndWait
Package
tmuxtest
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/tmuxtest/screen.go
func TypeAndWait( ctx context.Context, t testing.TB, pane tmux.Pane, command string, )

Description#

It appends and waits for a unique marker whether the command succeeds or fails. It does not return the command's exit status.

Parameters
Esc

Type to search.

Reference previewOpen reference