Skip to content

Commit a54d929

Browse files
committed
docs(CHANGES): Note fixes and improvement
1 parent e73ddc0 commit a54d929

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

CHANGES

+45
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,55 @@ $ 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()`: Params changed (#523)
27+
28+
- No longer accepts `-U`, `-D`, `-L`, `-R` directly, instead accepts
29+
`ResizeAdjustmentDirection`.
30+
31+
### New features
32+
33+
#### `Pane.resize_pane()`: Params changed (#523)
34+
35+
- Learned to accept adjustments via `adjustment_direction` w/
36+
`ResizeAdjustmentDirection` + `adjustment`.
37+
38+
#### `Pane.resize_pane()`: Params changed (#523)
39+
40+
- Learned `resize_pane()`
41+
42+
- Accepts adjustment (columns/rows or percentage), zoom (and unzoom)
43+
44+
#### `Window.resize_window()`: Added (#523)
45+
46+
If `Pane.resize_pane()` didn't work before, try resizing the window.
47+
48+
### Bug fixes
49+
50+
#### `Window.refresh()` and `Pane.refresh()`: Refresh more underlying state (#523)
51+
52+
#### `Obj._refresh`: Allow passing args (#523)
53+
54+
e.g. `-a` (all) to `list-panes` and `list-windows`
55+
56+
#### `Server.panes`: Fix listing of panes (#523)
57+
58+
Would list only panes in attached session, rather than all in a server.
59+
1760
### Improvement
1861

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

2267
### Tests
2368

0 commit comments

Comments
 (0)