libtmux Reference MCP Search
On this page

server.Server

View as Markdown

Module
server
Package
libtmux
Source
crates/libtmux/src/server.rs
struct server.Server
structoverload [source]
structoverload [source]
struct server.Server

46 declared, 0 inherited

Members

  • access_rules method The users on this server's access list.
  • attached_sessions method List the sessions that have at least one client attached.
  • attached_sessions_or_empty method List the sessions that have at least one client attached.
  • bind_key method Bind a key in one key table.
  • buffer method Read a paste buffer's exact bytes.
  • buffer_names method List the paste buffer names.
  • builder method Start a consuming server builder.
  • capabilities method Detect and share capabilities for the configured tmux executable.
  • chain method Dispatch several commands as one tmux a \; b invocation.
  • check_alive method Require a tmux daemon to be answering at this endpoint.
  • clear_prompt_history method Forget the entries tmux remembers for prompts.
  • cmd method Execute one raw logical tmux command.
  • colors method
  • config_file method
  • default_timeout method
  • delete_buffer method Delete one paste buffer.
  • format method Expand a tmux format string and return the result.
  • from_core method Build a handle onto a connection an object already holds.
  • from_env method Build a server from the TMUX variable tmux exports into every pane.
  • from_env_value method Build a server from an explicit TMUX value.
  • from_executor_for_test method
  • generation method Which tmux daemon is answering on this endpoint.
  • grant_access method Let a user attach to this server.
  • identity method
  • is_alive method Report whether a tmux daemon is answering at this endpoint.
  • key_bindings method List key bindings as tmux prints them.
  • kill method Stop the tmux daemon at this endpoint.
  • lock_all method Lock every client on the server.
  • new method Construct a server from the captured default endpoint context.
  • new_session method Create a detached session and return it.
  • prompt_history method The entries tmux remembers for one kind of prompt.
  • require method Read this server's release and refuse a capability it is too old for.
  • require_generation method Fail unless the daemon answering is still the one that was captured.
  • revoke_access method Stop a user attaching to this server.
  • run_shell method Run a shell command through tmux and collect its output.
  • set_buffer method Store data in a tmux paste buffer.
  • shutdown method Stop accepting clients and wait for every active client process.
  • socket_name method
  • socket_path method
  • source_file method Load a tmux configuration file into this server.
  • spawn_control method
  • spawn_shell method Run a shell command in the background and return immediately.
  • start method Start a tmux server without creating a session.
  • tmux_executable method
  • unbind_key method Remove a key binding from one key table.
  • with_session method Create a session, run an operation with it, then kill it.
Esc

Type to search.