Skip to content

Commit 6f09307

Browse files
committed
Merge branch 'libtmux-0.6.5', fixes #229
2 parents 2bfa19e + e14a6f6 commit 6f09307

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
kaptan>=0.5.7
2-
libtmux==0.6.4 # Updated from 0.6.3
2+
libtmux==0.6.5 # Updated from 0.6.4
33
click==6.7
44
colorama==0.3.7

tmuxp/cli.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import kaptan
1616
from click.exceptions import FileError
1717
from libtmux.common import has_required_tmux_version, which
18+
from libtmux.exc import TmuxCommandNotFound
1819
from libtmux.server import Server
1920

2021
from . import WorkspaceBuilder, config, exc, log, util
@@ -316,6 +317,9 @@ def cli(log_level):
316317
http://tmuxp.readthedocs.io/en/latest/"""
317318
try:
318319
has_required_tmux_version()
320+
except TmuxCommandNotFound:
321+
click.echo('tmux not found. tmuxp requires you install tmux first.')
322+
sys.exit()
319323
except exc.TmuxpException as e:
320324
click.echo(e, err=True)
321325
sys.exit()

0 commit comments

Comments
 (0)