tmuxver

package
v0.294.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package tmuxver reads tmux versions, for the decisions that depend on one: how muster-mirror pastes a picker's keys (internal/mirrorhost) and what `muster doctor` says about this machine's tmux (cmd/muster).

Index

Constants

View Source
const MinRawPaste = "3.7"

MinRawPaste is the first tmux release with `paste-buffer -S` — and the first whose plain `paste-buffer` SANITIZES control characters. Its CHANGES, "CHANGES FROM 3.6b TO 3.7": "Pass paste buffer through vis(3) when pasting to prevent buffers containing for example the bracket end sequence causing issues, a new -S flag disables (reported by Mason Davis)." Both arrived in that one change: read from the 3.4 and 3.7c sources, 3.4's cmd-paste-buffer.c writes the buffer's bytes to the pane as they are (only LF becomes the separator), and 3.7c's does exactly that under -S and runs them through vis(3) without it.

Variables

This section is empty.

Functions

func AtLeast

func AtLeast(v, min string) (ok, known bool)

AtLeast reports whether the tmux version v (`tmux -V`'s output or a bare #{version}) is at least min ("major.minor"), and whether v could be read at all — a version it cannot read is unknown, never "old".

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL