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(
312312
313313 Examples
314314 --------
315- >>> pane = window.split_window (shell='sh')
315+ >>> pane = window.split (shell='sh')
316316 >>> pane.capture_pane()
317317 ['$']
318318
@@ -381,7 +381,7 @@ def kill(
381381 --------
382382 Kill a pane:
383383
384- >>> pane_1 = pane.split_window ()
384+ >>> pane_1 = pane.split ()
385385
386386 >>> pane_1 in window.panes
387387 True
@@ -396,10 +396,10 @@ def kill(
396396 >>> pane.window.resize(height=100, width=100)
397397 Window(@1 1...)
398398
399- >>> one_pane_to_rule_them_all = pane.split_window ()
399+ >>> one_pane_to_rule_them_all = pane.split ()
400400
401- >>> other_panes = pane.split_window (
402- ... ), pane.split_window ()
401+ >>> other_panes = pane.split (
402+ ... ), pane.split ()
403403
404404 >>> all([p in window.panes for p in other_panes])
405405 True
@@ -440,7 +440,7 @@ def select(self) -> "Pane":
440440 Examples
441441 --------
442442 >>> pane = window.active_pane
443- >>> new_pane = window.split_window ()
443+ >>> new_pane = window.split ()
444444 >>> pane.refresh()
445445 >>> active_panes = [p for p in window.panes if p.pane_active == '1']
446446
Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ def temp_window(
271271
272272
273273 >>> with temp_window(session) as window:
274- ... window.split_window ()
274+ ... window.split ()
275275 Pane(%4 Window(@3 2:libtmux_..., Session($1 libtmux_...)))
276276 """
277277 if "window_name" not in kwargs :
You can’t perform that action at this time.
0 commit comments