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

Go API

Go documentation

tmux.Server.ListKeys

Go
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_keys.go
Other languages
Python Ruby Lua TypeScript Rust Java.NET C++ Swift
ListKeys ( ctx : context.Context , request : ListKeysRequest ) → ([]string, error)
method [source]
method [source]
ListKeys

ListKeys returns an owned snapshot of raw tmux key-binding lines. Format requires tmux 3.7 and follows UnsupportedPolicy . tmux 3.7 through 3.7c send a table's sole matching binding to client status and leave stdout empty; this method preserves that upstream and Python behavior. Listing failures remain errors.

On an unused socket, tmux starts an empty server to answer. With the default exit-empty setting, that server exits at once and leaves its socket file.

In other ports List the key bindings

0 declared, 0 inherited

Esc

Type to search.