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

tmux.KillWindowRequest

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/lifecycle_kill.go
struct tmux.KillWindowRequest
struct [source]
struct [source]
struct tmux.KillWindowRequest

KillWindowRequest selects a window for Session.KillWindow on tmux 3.2a or later. A zero request kills the receiver session's current window, and Index is scoped to that session. Target is unrestricted tmux target syntax and may select a window in another session. Target and Index are mutually exclusive and are checked before execution. Pointer values are read during the call and are not retained; callers must not mutate them concurrently. A nil pointer omits its selector, while a nonnil pointer is explicit even when Target points to an empty string.

2 declared, 0 inherited

Members

  • Index attribute Index selects a winlink index within the receiver session when nonnil.
  • Target attribute Target is passed through as unrestricted tmux target syntax when nonnil.
Esc

Type to search.