Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

module libtmux-fsharp

Mirror

Follows a server's sessions, windows, panes and clients as tmux announces changes.

Source and package
Qualified name
LibTmux.FSharp.Mirror
Namespace
LibTmux.FSharp
Package
LibTmux.FSharp
Source
src/LibTmux.FSharp/Control.fsi

Description

Each announcement starts a fresh capture; a capture that finds nothing different publishes nothing. tmux does not announce a pane's running command or working directory, nor layout changes in other sessions; use startRefreshing to see those within an interval.

Members6 members

Common operations5

  • start Mirrors the server an anchor session belongs to, capturing on each announcement.
  • waitUntil Waits until a view satisfies a condition, testing the current view first.
  • startRefreshing Mirrors a server, also capturing whenever it has been quiet for an interval.
  • views Streams the current view and each newer one, skipping views published while the reader was busy.
  • tryWaitUntil Waits until a view satisfies a condition, or returns None when none did in time.

Other members1

  • current Returns the latest published view.
Esc
Search in

Type to search.

Reference previewOpen reference