8000 Update libtmux 0.8.0 -> 0.8.1 by tony · Pull Request #471 · tmux-python/tmuxp · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ env:
- RETRY_TIMEOUT_SECONDS=15
matrix:
- TMUX_VERSION=master
- TMUX_VERSION=2.8
- TMUX_VERSION=2.7
- TMUX_VERSION=2.6
- TMUX_VERSION=2.5
- TMUX_VERSION=2.4
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kaptan>=0.5.10
libtmux==0.8.0
libtmux==0.8.1
click>=7<8
colorama>=0.3.9
6 changes: 3 additions & 3 deletions tests/test_workspacebuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ def test_global_options(session):
builder = WorkspaceBuilder(sconf=sconfig)
builder.build(session=session)

assert "top" in s.show_option('status-position', g=True)
assert 493 == s.show_option('repeat-time', g=True)
assert "top" in s.show_option('status-position', _global=True)
assert 493 == s.show_option('repeat-time', _global=True)


def test_global_session_env_options(session, monkeypatch):
Expand All @@ -234,7 +234,7 @@ def test_global_session_env_options(session, monkeypatch):
builder = WorkspaceBuilder(sconf=sconfig)
builder.build(session=session)

assert visual_silence in s.show_option('visual-silence', g=True)
assert visual_silence in s.show_option('visual-silence', _global=True)
assert repeat_time == s.show_option('repeat-time')
assert main_pane_height == s.attached_window.show_window_option('main-pane-height')

Expand Down
2 changes: 1 addition & 1 deletion tmuxp/workspacebuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def build(self, session=None):
self.session.set_option(option, value)
if 'global_options' in self.sconf:
for option, value in self.sconf['global_options'].items():
self.session.set_option(option, value, g=True)
self.session.set_option(option, value, _global=True)
if 'environment' in self.sconf:
for option, value in self.sconf['environment'].items():
self.session.set_environment(option, value)
Expand Down
0