Skip to content

Commit e8b550b

Browse files
committed
fix bug where if inside tmux, loading a workspace via switch_client wouldn't work.
1 parent 6dbf9ed commit e8b550b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ tmuxp Changelog
33

44
Here you can find the recent changes to tmuxp.
55

6+
2013-10-30
7+
----------
8+
9+
- [cli] fix bug where if inside tmux, loading a workspace via switch_client
10+
wouldn't work.
11+
612
2013-10-29
713
----------
814

tmuxp/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def load_workspace(config_file, args):
275275
print('Session killed.')
276276
elif choice == 'a':
277277
if 'TMUX' in os.environ:
278-
builder.session.switch_session()
278+
builder.session.switch_client()
279279
else:
280280
builder.session.attach_session()
281281
else:

0 commit comments

Comments
 (0)