Skip to content

Commit

Permalink
docs(CHANGES): Note fixes and improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Feb 15, 2024
1 parent 88c0f34 commit 0259b78
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,55 @@ $ pip install --user --upgrade --pre libtmux

<!-- Maintainers and contributors: Insert change notes for the next release above -->

### Breaking changes

#### `Session.new_window()` + `Window.split_window()`: No longer attaches by default

- 0.28 +: Now _defaults_ to `attach=False`.
- 0.27.1 and before: _defaults_ to `attach=True`.

Pass `attach=True` for the old behavior.

#### `Pane.resize_pane()`: Params changed (#523)

- No longer accepts `-U`, `-D`, `-L`, `-R` directly, instead accepts
`ResizeAdjustmentDirection`.

### New features

#### `Pane.resize_pane()`: Params changed (#523)

- Learned to accept adjustments via `adjustment_direction` w/
`ResizeAdjustmentDirection` + `adjustment`.

#### `Pane.resize_pane()`: Params changed (#523)

- Learned `resize_pane()`

- Accepts adjustment (columns/rows or percentage), zoom (and unzoom)

#### `Window.resize_window()`: Added (#523)

If `Pane.resize_pane()` didn't work before, try resizing the window.

### Bug fixes

#### `Window.refresh()` and `Pane.refresh()`: Refresh more underlying state (#523)

#### `Obj._refresh`: Allow passing args (#523)

e.g. `-a` (all) to `list-panes` and `list-windows`

#### `Server.panes`: Fix listing of panes (#523)

Would list only panes in attached session, rather than all in a server.

### Improvement

- Pane, Window: Improve parsing of option values that return numbers
(#520)
- `Obj._refresh`: Allow passing `list_extra_args` to ensure `list-windows` and
`list-panes` can return more than the target (#523)

### Tests

Expand Down

0 comments on commit 0259b78

Please sign in to comment.