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
Window
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_lifecycle.go
Other languages
PythonRubyLuaTypeScriptRustJava.NETC++Swift
Rename ( ctx : context.Context , name : string ) → (Window, error)
method [source]
method [source]
Rename

Rename changes the stable window through the receiver's exact winlink and returns a canonical freshly materialized Window . The returned winlink may therefore use another session when the WindowID is linked. If the command succeeds but refresh fails, Rename returns the receiver with that error. A transport or context error can be delivery-ambiguous; no rollback is attempted.

In other ports Rename a window

0 declared, 0 inherited

Esc

Type to search.