Skip to content

v0.28.0 - Refresh and resize improvements

Compare
Choose a tag to compare
@tony tony released this 15 Feb 01:20
· 362 commits to master since this release

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.

Improvements

  • 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)

Full Changelog: v0.27.1...v0.28.0