Skip to content

Commit 80c58f0

Browse files
committed
chore: split_window() -> split()
1 parent accbc3b commit 80c58f0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/quickstart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ AL - [Abstraction Layer][abstraction layer]
149149
| {meth}`libtmux.Session.windows` | `$ tmux list-windows` |
150150
| {meth}`libtmux.Session.new_window` | `$ tmux new-window` |
151151
| {meth}`libtmux.Window.panes` | `$ tmux list-panes` |
152-
| {meth}`libtmux.Window.split_window` | `$ tmux split-window` |
152+
| {meth}`libtmux.Window.split` | `$ tmux split-window` |
153153
| {meth}`libtmux.Pane.send_keys` | `$ tmux send-keys` |
154154

155155
[import]: http://tmuxp.git-pull.com/commands/#import

tests/cli/test_shell.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test_shell(
122122
monkeypatch.setenv("HOME", str(tmp_path))
123123
window_name = "my_window"
124124
window = session.new_window(window_name=window_name)
125-
window.split_window()
125+
window.split()
126126

127127
assert window.active_pane is not None
128128

@@ -215,7 +215,7 @@ def test_shell_target_missing(
215215
monkeypatch.setenv("HOME", str(tmp_path))
216216
window_name = "my_window"
217217
window = session.new_window(window_name=window_name)
218-
window.split_window()
218+
window.split()
219219

220220
assert server.socket_name is not None
221221
assert session.name is not None
@@ -292,7 +292,7 @@ def test_shell_interactive(
292292
monkeypatch.setenv("HOME", str(tmp_path))
293293
window_name = "my_window"
294294
window = session.new_window(window_name=window_name)
295-
window.split_window()
295+
window.split()
296296

297297
assert window.active_pane is not None
298298

0 commit comments

Comments
 (0)