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

control.Event

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

View as Markdown

Module
control
Package
libtmux
Source
crates/libtmux/src/control.rs
enum control.Event
enumoverload [source]
enumoverload [source]
enum control.Event

Something tmux reported that no command asked for.

The variants cover every notification tmux publishes across the supported releases. Event::Other keeps an unrecognized one rather than dropping it, because tmux adds notifications between releases; its name is the tmux notification without the leading %.

Four of these are newer than the oldest tmux this crate supports: %config-error, %message, %paste-buffer-changed and %paste-buffer-deleted are never emitted by 3.2a. Nothing else in the vocabulary is version-dependent.

30 declared, 0 inherited

Members

  • ClientDetached constant A client detached from the server.
  • ClientSessionChanged constant A client switched to a different session.
  • ConfigError constant tmux could not read part of its configuration.
  • Continued constant tmux resumed a pane it had paused.
  • Exit constant The server is going away, so no further events will arrive.
  • ExtendedOutput constant A pane produced output, and tmux said how far behind it is.
  • invalidates_listings method Report whether a listing taken before this event may now be wrong.
  • LayoutChanged constant A window's panes were rearranged, added to, or removed from.
  • may_have_added_a_pane method Report whether a pane may have appeared since the last look.
  • Message constant A message tmux was asked to display, by display-message or a hook.
  • Other constant A notification this crate does not model.
  • Output constant A pane produced output.
  • pane method Return the pane this event is about, when it is about one.
  • PaneModeChanged constant A pane entered or left a mode, such as copy mode.
  • PasteBufferChanged constant A paste buffer was created or replaced.
  • PasteBufferDeleted constant A paste buffer was deleted.
  • Paused constant tmux stopped sending a pane's output.
  • SessionChanged constant The attached session changed.
  • SessionRenamed constant A session was renamed.
  • SessionsChanged constant A session was created or destroyed, so the session list is now wrong.
  • SessionWindowChanged constant A session's active window changed.
  • SubscriptionChanged constant A format this client subscribed to with refresh-client -B changed.
  • UnlinkedWindowAdded constant A window appeared that the attached session does not link.
  • UnlinkedWindowClosed constant A window the attached session does not link closed.
  • UnlinkedWindowRenamed constant A window the attached session does not link was renamed.
  • window method Return the window this event is about, when it is about one.
  • WindowAdded constant A window was linked into the attached session.
  • WindowClosed constant A window in the attached session closed.
  • WindowPaneChanged constant A window's active pane changed.
  • WindowRenamed constant A window in the attached session was renamed.
Esc

Type to search.