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-ts latest

Pane.setTitle

Set this pane's title.

Source and package
Qualified name
Pane.setTitle
Module
pane
Declared in
Pane
Package
libtmux
Source
packages/libtmux/src/pane.ts
Other languages
PowerShell Julia Elixir Python Ruby LuaRustGoJavaC#C++Swift Kotlin Scala F#

Description#

The title is what #{pane_title} reports and what a pane-border-format draws; a program running in the pane can also set it through the terminal, so it is not solely the caller's to own.

Examples#

await pane.setTitle("build");
Parameters

tmux command#

The tmux commands behind setTitle.

tmux C API#

The C declarations in tmux that implement these commands.

In other ports#

Set a pane's title

Equivalents of Set a pane's title in other languages
Language Equivalent
Python libtmux.Pane.set_title
Lua libtmux.Pane:set_title
Rust pane.Pane.set_title
Go tmux.Pane.SetTitle
Java io.github.libtmux.Pane.retitle
C# LibTmux.Pane.SetTitleAsync
C++ libtmux::Pane::set_title
Swift Server.setTitle(_:of:)

No equivalent is recorded in Ruby, PowerShell, Julia, Elixir, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference