Skip to content

Commit

Permalink
py(deps): libtmux 0.32.0 -> 0.33.0 (#918)
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Mar 17, 2024
2 parents d59f002 + db40f0b commit 7fb672e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ $ pipx install --suffix=@next 'tmuxp' --pip-args '\--pre' --force

<!-- Maintainers, insert changes / features for the next release here -->

### Breaking changes

- libtmux: 0.32.0 -> 0.33.0 (#918)

Move `split_window()` to `split()`.

### Development

- poetry: 1.7.1 -> 1.8.1
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ AL - [Abstraction Layer][abstraction layer]
| {meth}`libtmux.Session.windows` | `$ tmux list-windows` |
| {meth}`libtmux.Session.new_window` | `$ tmux new-window` |
| {meth}`libtmux.Window.panes` | `$ tmux list-panes` |
| {meth}`libtmux.Window.split_window` | `$ tmux split-window` |
| {meth}`libtmux.Window.split` | `$ tmux split-window` |
| {meth}`libtmux.Pane.send_keys` | `$ tmux send-keys` |

[import]: http://tmuxp.git-pull.com/commands/#import
Expand Down
9 changes: 5 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tmuxp = 'tmuxp:cli.cli'

[tool.poetry.dependencies]
python = "^3.8"
libtmux = "~0.32.0"
libtmux = "~0.33.0"
colorama = ">=0.3.9"
PyYAML = "^6.0"

Expand Down
6 changes: 3 additions & 3 deletions tests/cli/test_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_shell(
monkeypatch.setenv("HOME", str(tmp_path))
window_name = "my_window"
window = session.new_window(window_name=window_name)
window.split_window()
window.split()

assert window.active_pane is not None

Expand Down Expand Up @@ -215,7 +215,7 @@ def test_shell_target_missing(
monkeypatch.setenv("HOME", str(tmp_path))
window_name = "my_window"
window = session.new_window(window_name=window_name)
window.split_window()
window.split()

assert server.socket_name is not None
assert session.name is not None
Expand Down Expand Up @@ -292,7 +292,7 @@ def test_shell_interactive(
monkeypatch.setenv("HOME", str(tmp_path))
window_name = "my_window"
window = session.new_window(window_name=window_name)
window.split_window()
window.split()

assert window.active_pane is not None

Expand Down

0 comments on commit 7fb672e

Please sign in to comment.