Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
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

method libtmux-dotnet

Session.KillWindowAsync

Stops one window in this session.

Source and package
Qualified name
LibTmux.Session.KillWindowAsync
Namespace
LibTmux
Declared in
Session
Package
LibTmux
Source
src/LibTmux/Session.Lifecycle.cs
Task KillWindowAsync( string? target = null, CancellationToken cancellationToken = default )
Parameters

Recorded calls

source calls
No call edges in the C# model.

The C# 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.Session.KillWindowAsync.

tmux command

task material

The tmux commands behind KillWindowAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 2 other ports mapped

Source-verified mappings for Close a window named from its session. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Close a window named from its session in each port
PortAPIDiffers from C#
C# LibTmux.Session.KillWindowAsync
Stops one window in this session.
This page
Python libtmux.Session.kill_window
Close a tmux window, and all panes inside it, $ tmux kill-window.
None recorded in the model
Go tmux.Session.KillWindow
KillWindow destroys one stable window. When Target and Index are nil it selects the receiver session's current window, and Index selects a winlink in that session. A nonnil Target is forwarded as unrestricted tmux target syntax and may select a window in another session. The selected stable window is removed from every session and its panes are destroyed. Affected sessions preserve their current selection unless this window was current, in which case they select another. A session left without windows is destroyed; Session.Kill describes how tmux handles its clients.
None recorded in the model
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent.

no equivalent on Session

No Rust equivalent.

no equivalent on Session

No Java equivalent.

no equivalent on Session

No C++ equivalent.

no equivalent on Session

No Swift equivalent.

no equivalent on Session

No OCaml equivalent.

No direct public OCaml equivalent is recorded for this operation.

No Perl equivalent.

No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.

No Raku equivalent.

No direct Raku mapping is recorded for this operation; consult the native API reference.

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

Esc
Search in

Type to search.

Reference previewOpen reference