v0.28.0 - Refresh and resize improvements
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,-Rdirectly, instead accepts
ResizeAdjustmentDirection.
New features
Pane.resize(): Improved param coverage (#523)
-
Learned to accept adjustments via
adjustment_directionw/
ResizeAdjustmentDirection+adjustment. -
Learned to accept manual
heightand / orwidth(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.
Improvements
- Pane, Window: Improve parsing of option values that return numbers
(#520) Obj._refresh: Allow passinglist_extra_argsto ensurelist-windowsand
list-panescan return more than the target (#523)
Full Changelog: v0.27.1...v0.28.0