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.

method libtmux-go latest

Plan.NewSession

NewSession records a detached session and returns a Ref to it.

Source and package
Qualified name
tmux.Plan.NewSession
Package
tmux
Declared in
Plan
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/plan_session.go
func (p *Plan) NewSession(request NewSessionRequest) Ref

Description#

KillExisting is rejected: Server.NewSession probes for the named session and removes it before creating, and a plan records without reading. Record Plan.KillSession before this instead, which says the same thing in the order it happens.

Parameters
Esc

Type to search.

Reference previewOpen reference