Skip to content

Commit 1a93b57

Browse files
committedJun 16, 2021
Window.select_window(): Update for #271
1 parent 29d89c2 commit 1a93b57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎CHANGES

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Here you can find the recent changes to libtmux
55
## current
66

77
- _Insert changes/features/fixes for next release here_
8+
- Update `Window.select_window()` for #271
89

910
## libtmux 0.10.0 (2021-06-16)
1011
- #321: Convert to markdown

‎libtmux/window.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,7 @@ def select_window(self):
347347
-------
348348
:class:`Window`
349349
"""
350-
target = ('%s:%s' % (self.get('session_id'), self.index),)
351-
return self.session.select_window(target)
350+
return self.session.select_window(self.index)
352351

353352
def select_pane(self, target_pane):
354353
"""

0 commit comments

Comments
 (0)
Please sign in to comment.