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

Server.SetCommandAlias

SetCommandAlias replaces the complete "command-alias" server option array with SparseArraystring, preserving holes and empty values. Read it with ServerOptionValues.CommandAlias from Server.Options; Server.UnsetOption restores inheritance or the global default. Replacement is not atomic: the result reports confirmed writes, and failures stop without rollback. Serialize concurrent replacement of the same target and option.

Source and package
Qualified name
tmux.Server.SetCommandAlias
Package
tmux
Declared in
Server
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/option_generated.go
Esc

Type to search.

Reference previewOpen reference