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

NewWindow

NewWindow creates a test-owned tmux.Window and registers cleanup against its stable ID. A nil tmux.NewWindowRequest.Name receives a collision-checked temporary name; an empty non-nil name remains explicit. The request and referenced values are copied before tmux is called, and setup failures call testing.TB.Fatal. Cleanup belongs to t rather than ctx and follows the window if it is moved.

Source and package
Qualified name
tmuxtest.NewWindow
Package
tmuxtest
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/tmuxtest/resources.go
Esc

Type to search.

Reference previewOpen reference