Core Library0.xAPI reference

Choose documentation 1

pr-173

Current version

pr-173
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-elixir

Pane.kill/3

Kills an exact pane through one-shot execution.

Source and package
Qualified name
LibTmux.Pane.kill/3
Module
LibTmux
Declared in
Pane
Package
libtmux
Source
lib/libtmux/entities.ex
kill(connection, ref, options \\ []) @spec kill(LibTmux.Server.t(), LibTmux.Ref.t(), [ LibTmux.Action.option() ]) :: {:ok, LibTmux.Action.result(:ok)} | {:error, LibTmux.Action.error()}

Description

Returns {:ok, result} on command completion. Optional session: session_ref requires the pane's window to belong to that exact session and timeout defaults to 5000ms. The reference is checked against the answering server before dispatch, with the usual one-shot check/use race. A reference to something that is already gone returns {:error, %LibTmux.Action.CompletionError{}} with the original evidence. Control connections return unsupported_transport before any I/O: a connection cannot kill what it is attached to. Observations you already hold keep describing the pane.

alias LibTmux.Pane

Pane.kill(server, pane_ref)

Recorded calls

source calls
No call edges in the Elixir model.

The Elixir reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Pane.kill/3.

Esc
Search in

Type to search.

Reference previewOpen reference