Core Library0.xAPI Reference

Choose documentation 3

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.

typealias libtmux-ts latest

DaemonEpoch

Which run of the daemon a handle came from, counted from zero.

Source and package
Qualified name
DaemonEpoch
Module
common
Package
libtmux
Source
packages/libtmux/src/common.ts
type common.DaemonEpoch = number & { readonly [daemonEpochBrand]: "daemon" }

Description#

A restarted tmux on the same socket issues %0 again to a different pane, so an id from the previous run names nothing. Comparing epochs is what catches that, and it is why SessionRef and friends carry one.

Esc

Type to search.

Reference previewOpen reference