Skip to content

Commit 7574a49

Browse files
committed
fix(window.set_window_option): Remove .refresh()
This causes builder to break tmux-python/tmuxp#860
1 parent b68d83e commit 7574a49

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CHANGES

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ $ pip install --user --upgrade --pre libtmux
1414

1515
<!-- Maintainers and contributors: Insert change notes for the next release above -->
1616

17+
### Fixes
18+
19+
- `Window.set_window_option()`: Remove `.refresh()` (#467)
20+
21+
See also: https://github.com/tmux-python/tmuxp/issues/860
22+
1723
## libtmux 0.19.0 (2022-01-07)
1824

1925
### New features

src/libtmux/window.py

-3
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,6 @@ def set_window_option(self, option: str, value: t.Union[int, str]) -> "Window":
342342
:exc:`exc.OptionError`, :exc:`exc.UnknownOption`,
343343
:exc:`exc.InvalidOption`, :exc:`exc.AmbiguousOption`
344344
"""
345-
346-
self.refresh()
347-
348345
if isinstance(value, bool) and value:
349346
value = "on"
350347
elif isinstance(value, bool) and not value:

0 commit comments

Comments
 (0)