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

libtmux::ParsedNotification

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

View as Markdown

Module
libtmux
Package
libtmux-cxx
Source
include/libtmux/notification.hpp
struct libtmux::ParsedNotification
struct [source]
struct [source]
struct libtmux::ParsedNotification

A notification's arguments, as views into the notification it was read from.

tmux types its arguments by prefix — $0 a session, @1 a window, %2 a pane — so each lands in the field it belongs to and the others stay empty. payload is the pane bytes of an output notification, already unescaped; it is empty for every other kind.

subscription_changed is the one kind whose first argument is never an id: it is the subscription's own name (chosen by whoever called refresh-client -B), so text holds that name and the changed value together — `"<name> : <value>"— oncesession/window/pane` have taken the ids around them.

Everything here borrows. The notification must outlive it, which is why there is no overload taking a temporary.

8 declared, 0 inherited

Members

Esc

Type to search.