Skip to content

Upgrading prompt_toolkit 0.42 to 0.43

Breaking0.42 → 0.43Breaking1New5Fixed1

BreakingUpgrade verdict

1 breaking change.

  • Custom layout code that used the width property must switch to preferred_width and accept the new maximum width argument.
1 item needs code or config changes
Breaking1
Renames Layout.width to preferred_width, which now receives a max_available_width parameter.
Layout.widthpreferred_widthmax_available_width