File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ def send_keys(
312
312
313
313
Examples
314
314
--------
315
- >>> pane = window.split_window (shell='sh')
315
+ >>> pane = window.split (shell='sh')
316
316
>>> pane.capture_pane()
317
317
['$']
318
318
@@ -381,7 +381,7 @@ def kill(
381
381
--------
382
382
Kill a pane:
383
383
384
- >>> pane_1 = pane.split_window ()
384
+ >>> pane_1 = pane.split ()
385
385
386
386
>>> pane_1 in window.panes
387
387
True
@@ -396,10 +396,10 @@ def kill(
396
396
>>> pane.window.resize(height=100, width=100)
397
397
Window(@1 1...)
398
398
399
- >>> one_pane_to_rule_them_all = pane.split_window ()
399
+ >>> one_pane_to_rule_them_all = pane.split ()
400
400
401
- >>> other_panes = pane.split_window (
402
- ... ), pane.split_window ()
401
+ >>> other_panes = pane.split (
402
+ ... ), pane.split ()
403
403
404
404
>>> all([p in window.panes for p in other_panes])
405
405
True
@@ -440,7 +440,7 @@ def select(self) -> "Pane":
440
440
Examples
441
441
--------
442
442
>>> pane = window.active_pane
443
- >>> new_pane = window.split_window ()
443
+ >>> new_pane = window.split ()
444
444
>>> pane.refresh()
445
445
>>> active_panes = [p for p in window.panes if p.pane_active == '1']
446
446
Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ def temp_window(
271
271
272
272
273
273
>>> with temp_window(session) as window:
274
- ... window.split_window ()
274
+ ... window.split ()
275
275
Pane(%4 Window(@3 2:libtmux_..., Session($1 libtmux_...)))
276
276
"""
277
277
if "window_name" not in kwargs :
You can’t perform that action at this time.
0 commit comments