Session.kill
Both allowlists are required for guarded deletion of a changing topology.
Source and package
- def kill: ( ?expected
_windows : ::Array[::LibTmux:: ]?, ?expectedEntity Ref _panes : ::Array[::LibTmux:: ]?, ?timeout: ::Numeric, ?cancel: untyped ) -> ::LibEntity Ref Tmux:: Command Result -
Description#
Behavior contract: Entity removal.
- Parameters
-
-
expected_windows(::Array[::LibTmux:: ]?) #Entity Ref -
expected_panes(::Array[::LibTmux:: ]?) #Entity Ref
-
tmux command#
The tmux commands behind kill.
if-shell (expected windows or panes are given) kill-session list-commands (expected windows or panes are given) show-options (expected windows or panes are given) tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
End a session
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Lua | libtmux |
| TypeScript | session |
| Rust | session |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
No equivalent is recorded in PowerShell, Julia, Elixir, Kotlin, Scala or F#.