Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

View as Markdown

Module
tmux
Declared in
Pane
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_geometry.go
Other languages
Python Ruby LuaTypeScriptRustJava.NETC++Swift
SetTitle ( ctx : context.Context , title : string ) → (Pane, error)
method [source]
method [source]
SetTitle

SetTitle sets the title of the receiver's exact linked pane. tmux expands format expressions in title; the value is not a shell command. SetTitle then refreshes by PaneID, so the returned canonical Pane may carry a different linked-session or winlink context. If the mutation is accepted but refresh fails, SetTitle returns the original receiver with that error.

Completed stderr produces a redacted CommandError ; nonzero exits without stderr are followed by refresh. Transport errors return zero and are delivery-ambiguous.

In other ports Set a pane's title

0 declared, 0 inherited

Esc

Type to search.