libtmux Reference MCP Search
On this page

tmux.Pane.SetTitle

View as Markdown

Module
tmux
Declared in
Pane
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_geometry.go
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.

0 declared, 0 inherited

Esc

Type to search.