Skip to content

Commit 11a2449

Browse files
committed
Warn about tmux<1.4, fixes issue #84
1 parent 6f2bf9a commit 11a2449

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tmuxp/util.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,10 @@ def has_required_tmux_version(version=None):
303303
proc = tmux('-V')
304304

305305
if proc.stderr:
306+
if proc.stderr[0] == 'tmux: unknown option -- V':
307+
raise exc.TmuxpException(
308+
'tmuxp supports tmux 1.8 and greater. This system'
309+
' is running tmux 1.3 or earlier.')
306310
raise exc.TmuxpException(proc.stderr)
307311

308312
version = proc.stdout[0].split('tmux ')[1]

0 commit comments

Comments
 (0)