Skip to content

v0.7.0 — Column widths and text wrapping

Compare
Choose a tag to compare
@jwodder jwodder released this 18 Jul 14:35
· 104 commits to master since this release
v0.7.0
  • Added a len_func option, allowing the user to specify a custom function for calculating text width
  • Added a with_color_stripped function decorator for use by custom len_funcs
  • Added widths and width_fill options for wrapping columns to fixed widths
  • Added break_long_words and break_on_hyphens options for controlling text wrapping
  • Added a wrap_func option, allowing the user to specify a custom function for wrapping text