Skip to content

Commit a5980cf

Browse files
committed
docs(CHANGES): Note fixes and improvement
1 parent e8341bc commit a5980cf

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

CHANGES

+47
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,57 @@ $ pip install --user --upgrade --pre libtmux
1414

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

17+
### Breaking changes
18+
19+
#### `Session.new_window()` + `Window.split_window()`: No longer attaches by default
20+
21+
- 0.28 +: Now _defaults_ to `attach=False`.
22+
- 0.27.1 and before: _defaults_ to `attach=True`.
23+
24+
Pass `attach=True` for the old behavior.
25+
26+
#### `Pane.resize_pane()` renamed to `Pane.resize()`: (#523)
27+
28+
This convention will be more consistent with `Window.resize()`.
29+
30+
#### `Pane.resize_pane()`: Params changed (#523)
31+
32+
- No longer accepts `-U`, `-D`, `-L`, `-R` directly, instead accepts
33+
`ResizeAdjustmentDirection`.
34+
35+
### New features
36+
37+
#### `Pane.resize()`: Improved param coverage (#523)
38+
39+
- Learned to accept adjustments via `adjustment_direction` w/
40+
`ResizeAdjustmentDirection` + `adjustment`.
41+
42+
- Learned to accept manual `height` and / or `width` (columns/rows or percentage)
43+
44+
- Zoom (and unzoom)
45+
46+
#### `Window.resize_window()`: New Method (#523)
47+
48+
If `Pane.resize_pane()` (now `Pane.resize()`) didn't work before, try resizing the window.
49+
50+
### Bug fixes
51+
52+
#### `Window.refresh()` and `Pane.refresh()`: Refresh more underlying state (#523)
53+
54+
#### `Obj._refresh`: Allow passing args (#523)
55+
56+
e.g. `-a` (all) to `list-panes` and `list-windows`
57+
58+
#### `Server.panes`: Fix listing of panes (#523)
59+
60+
Would list only panes in attached session, rather than all in a server.
61+
1762
### Improvement
1863

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

2269
### Tests
2370

0 commit comments

Comments
 (0)