# TmuxVersion.init(parsing:)

- **Module:** TmuxVersion
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/TmuxVersion.swift#L33
- **Page:** https://libtmux.org/en/swift/latest/reference/tmuxversion-init(parsing-)/

```
TmuxVersion.init(parsing:)(parsing: String)
```

Reads what `tmux -V` prints.

Returns `nil` rather than guessing: a version this cannot read is a tmux
whose behaviour this library has no basis to predict, and defaulting to
"probably recent" is how a workaround silently stops being applied.
