Upgrading prompt_toolkit 0.42 to 0.43
Breaking0.42 → 0.43Breaking1New5Fixed1
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Custom layout code that used the width property must switch to preferred_width and accept the new maximum width argument.
Must act 1 item needs code or config changes
What you must change
Breaking1
Renames Layout.width to preferred_width, which now receives a max_available_width parameter.
Layout.widthpreferred_widthmax_available_width