We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e3841 commit 16d2441Copy full SHA for 16d2441
libtmux/window.py
@@ -296,6 +296,17 @@ def rename_window(self, new_name: str) -> "Window":
296
----------
297
new_name : str
298
name of the window
299
+
300
+ Examples
301
+ --------
302
303
+ >>> window = session.attached_window
304
305
+ >>> window.rename_window('My project')
306
+ Window(@1 1:My project, Session($1 ...))
307
308
+ >>> window.rename_window('New name')
309
+ Window(@1 1:New name, Session($1 ...))
310
"""
311
312
import shlex
0 commit comments