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 e8341bc commit a5980cf
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions CHANGES
Expand Up @@ -14,10 +14,57 @@ $ 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()` renamed to `Pane.resize()`: (#523)

This convention will be more consistent with `Window.resize()`.

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

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

### New features

#### `Pane.resize()`: Improved param coverage (#523)

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

- Learned to accept manual `height` and / or `width` (columns/rows or percentage)

- Zoom (and unzoom)

#### `Window.resize_window()`: New Method (#523)

If `Pane.resize_pane()` (now `Pane.resize()`) 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 a5980cf

Please sign in to comment.