Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-dotnet latest

Session.KillAsync

Namespace LibTmux.Session.KillAsync LibTmux

Stops this session.

View as Markdown

Source and package
Module
LibTmux
Declared in
Session
Package
LibTmux
Source
src/LibTmux/Session.Lifecycle.cs
Other languages
PythonRubyLuaTypeScriptRustGoJavaC++Swift Kotlin Scala F#
KillAsync ( allExcept : bool , clearAlerts : bool , group : bool , cancellationToken : CancellationToken ) → Task
method [source]

Description#

Group stopping arrived in tmux 3.7. Older servers reject the flag and stop nothing at all, so against those the request is logged and the flag omitted: this session still dies, its group siblings do not.

Parameters
  • allExcept ( bool ) – Whether every other session is stopped instead of this one.

  • clearAlerts ( bool ) – Whether alerts are cleared in every window instead.

  • group ( bool ) – Whether every session in this session's group is stopped.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

tmux command kill-session

In other ports End a session
Esc

Type to search.