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

io.github.libtmux.control.ControlEvent.ControlEvent

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

View as Markdown

Module
io.github.libtmux.control.ControlEvent
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/control/ControlEvent.java
struct io.github.libtmux.control.ControlEvent.ControlEvent
struct [source]
struct [source]
struct io.github.libtmux.control.ControlEvent.ControlEvent

Something tmux volunteered, rather than an answer to a request.

A control client is told about changes as they happen — a window appearing, a session being renamed, a layout moving — without anything asking. That is the difference between watching a server and polling one.

Two readings of one line. #notification() is typed, for matching on: a sealed set of what tmux sends, with a Notification.Unknown case so that a notification a newer tmux adds still arrives rather than being dropped. #kind(), #fields() and #value() are what tmux wrote, word by word, for anything the typed reading does not cover.

5 declared, 0 inherited

Members

  • ControlEvent method An event from its words, with the typed reading taken from them.
  • paneId method The first field naming a pane, which is how an event says which pane it is about.
  • parse method Reads one notification line.
  • subscription method The name a subscription was registered under, for an event that came from one.
  • windowId method The first field naming a window.
Esc

Type to search.