@@ -16,50 +16,52 @@ $ pip install --user --upgrade --pre libtmux
16
16
17
17
## libtmux 0.28.0 (2024-02-14)
18
18
19
- ### Breaking changes
19
+ ### Breaking change
20
20
21
- #### ` Session.new_window() ` + ` Window.split_window() ` : No longer attaches by default
21
+ #### {meth} ` Session.new_window() ` + {meth} ` Window.split_window() ` no longer attaches by default ( # 523 )
22
22
23
- - 0.28 +: Now _ defaults _ to ` attach=False ` .
24
- - 0.27.1 and before: _ defaults _ to ` attach=True ` .
23
+ - 0.28.0 and greater: Defaults to ` attach=False ` .
24
+ - 0.27.1 and below: Defaults to ` attach=True ` .
25
25
26
- Pass ` attach=True ` for the old behavior .
26
+ For the old behavior in 0.28.0 and beyond, pass ` attach=True ` explicitly .
27
27
28
- #### ` Pane.resize_pane() ` renamed to ` Pane.resize() ` : (#523 )
28
+ #### ` Pane.resize_pane() ` renamed to {meth} ` Pane.resize() ` (#523 )
29
29
30
- This convention will be more consistent with ` Window.resize() ` .
30
+ This convention will be more consistent with {meth} ` Window.resize() ` .
31
31
32
- #### ` Pane.resize_pane() ` : Params changed (#523 )
32
+ #### {meth} ` Pane.resize_pane() ` 's params changed (#523 )
33
33
34
34
- No longer accepts ` -U ` , ` -D ` , ` -L ` , ` -R ` directly, instead accepts
35
- ` ResizeAdjustmentDirection ` .
35
+ {class} ` ~libtmux.constants. ResizeAdjustmentDirection` (see below) .
36
36
37
37
### New features
38
38
39
- #### ` Pane.resize() ` : Improved param coverage (#523 )
39
+ #### Improvements to resizing (#523 )
40
40
41
- - Learned to accept adjustments via ` adjustment_direction ` w/
42
- ` ResizeAdjustmentDirection ` + ` adjustment ` .
41
+ - {meth}` Pane.resize() ` :
43
42
44
- - Learned to accept manual ` height ` and / or ` width ` (columns/rows or percentage)
43
+ - Accept adjustments via ` adjustment_direction ` w/
44
+ {class}` ~libtmux.constants.ResizeAdjustmentDirection ` + ` adjustment ` .
45
45
46
- - Zoom ( and unzoom )
46
+ - Learned to accept manual ` height ` and / or ` width ` (columns/rows or percentage )
47
47
48
- #### ` Window.resize_window() ` : New Method ( # 523 )
48
+ - Zoom (and unzoom )
49
49
50
- If ` Pane.resize_pane() ` (now ` Pane. resize()` ) didn't work before, try resizing the window.
50
+ - {meth} ` Window. resize()` : Newly added
51
51
52
- ### Bug fixes
52
+ Tip: If {meth}` Pane.resize() ` was not taking affect <= 0.27.1, try to resize with
53
+ {meth}` Window.resize() ` first.
53
54
54
- #### ` Window.refresh() ` and ` Pane.refresh() ` : Refresh more underlying state ( # 523 )
55
+ ### Bug fixes
55
56
56
- #### ` Obj._refresh ` : Allow passing args (#523 )
57
+ - {meth}` Window.refresh() ` and {meth}` Pane.refresh() ` : Refresh more underlying state (#523 )
58
+ - {meth}` Obj._refresh ` : Allow passing args (#523 )
57
59
58
- e.g. ` -a ` (all) to ` list-panes ` and ` list-windows `
60
+ e.g. ` -a ` (all) to ` list-panes ` and ` list-windows `
59
61
60
- #### ` Server.panes ` : Fix listing of panes (#523 )
62
+ - ` Server.panes ` : Fix listing of panes (#523 )
61
63
62
- Would list only panes in attached session, rather than all in a server.
64
+ Would list only panes in attached session, rather than all in a server.
63
65
64
66
### Improvement
65
67
0 commit comments