libtmux Reference MCP Search
On this page

TmuxVersion

View as Markdown

Package
libtmux-swift
Source
Sources/LibTmux/TmuxVersion.swift
struct TmuxVersion : struct TmuxVersion
struct [source]
struct [source]
struct TmuxVersion

A tmux release, ordered the way tmux numbers them.

The trailing letter is part of the version, not decoration: tmux 3.7 shipped a break-pane crash that 3.7a reverted, so code that has to know which one it is talking to needs `3.7 < 3.7a` to be true. Comparing on the numbers alone would make those two equal and the question unanswerable.

17 declared, 0 inherited

Members

  • !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
  • ...(_:_:) function Returns a closed range that contains both of its bounds.
  • ...(_:) function Returns a partial range up to, and including, its upper bound.
  • ..<(_:_:) function Returns a half-open range that contains its lower bound but not its upper bound.
  • ..<(_:) function Returns a partial range up to, but not including, its upper bound.
  • <(_:_:) function Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.
  • <=(_:_:) function Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.
  • >(_:_:) function Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
  • >=(_:_:) function Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument.
  • init(from:) method Creates a new instance by decoding from the given decoder.
  • init(major:minor:pointRelease:build:) method
  • init(parsing:) method Reads what tmux -V prints.
  • build property What tmux was built from when it is not a release: master for a git build, openbsd for the one in OpenBSD's base system. Absent otherwise.
  • description property A textual representation of this instance.
  • major property The major version — 3 in 3.7a.
  • minor property The minor version — 7 in 3.7a.
  • pointRelease property The point release's letter — a in 3.7a — empty when there is none. Ordered as tmux issues them, so no letter precedes a precedes b.
Esc

Type to search.