libtmux Reference MCP Search
On this page

server.refuseWithoutLocalTmux

View as Markdown

Module
server
Package
@libtmux/libtmux
Source
packages/libtmux/src/server.ts
refuseWithoutLocalTmux ( runtime : : RuntimeContext , method : : string ) void
function [source]
function [source]
refuseWithoutLocalTmux

Refuse a call that can only reach a tmux this process can spawn.

Control mode is a tmux -C attach child of this process. An engine exists because tmux is somewhere this process cannot spawn it, so spawning anyway would attach to whatever local tmux happens to be there — and every command afterwards would succeed against the wrong server.

0 declared, 0 inherited

Esc

Type to search.