Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

method libtmux-perl latest

Server.kill_pane

kill_pane(pane => Pane|pane_id).

Source and package
Qualified name
LibTmux::Server::kill_pane
Module
LibTmux
Declared in
Server
Package
LibTmux
Source
packages/core/lib/LibTmux/Server.pm
Other languages
Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLuaTypeScriptRustGoJavaC#C++Swift Kotlin Scala OCaml F# Clojure
sub kill_pane($self, %args)

Description#

Destroy the selected LibTmux::Pane. Killing a window's final pane may destroy the physical window and its LibTmux::WindowLink associations. Previously captured records remain readable observations.

Returns undef after command acceptance. Performs I/O; failures propagate through LibTmux::X. Captured objects are not modified.

$server->kill_pane(pane => $pane);

Methods#

Parameters

tmux command#

The tmux commands behind kill_pane.

display-message (daemon identity or target preflight) kill-pane

tmux C API#

The C declarations in tmux that implement these commands.

In other ports#

Close a pane

Equivalents of Close a pane in other languages
Language Equivalent
Python libtmux.Pane.kill
Ruby LibTmux::Pane#kill
Lua libtmux.Pane:kill
Erlang tmux_pane:kill/1
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript pane.Pane.kill
Rust pane.Pane.kill
Go tmux.Pane.Kill
Java io.github.libtmux.Pane.kill
C# LibTmux.Pane.KillAsync
C++ libtmux::Pane::kill
Swift Server.kill(_:)
OCaml Libtmux_unix.Client.kill_pane

No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference