Skip to content

18.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Apr 05:52
· 7 commits to main since this release
18.0.0
de5d845

Changed

  • Console.print now accepts height and width keywords and has renamed string to text.
  • Text printed with Console.print using right-alignment has been shifted to the left by 1-tile.

Deprecated

  • In general the fg, bg, and bg_blend keywords are too hard to keep track of as positional arguments so they must be replaced with keyword arguments instead.
  • Console.print: deprecated string, fg, bg, and bg_blend being given as positional arguments.
    The string parameter has been renamed to text.
  • Console.print_box has been replaced by Console.print.
  • Console.draw_frame: deprecated clear, fg, bg, and bg_blend being given as positional arguments.
  • Console.draw_rect: deprecated fg, bg, and bg_blend being given as positional arguments.
  • The EventDispatch class is now deprecated.
    This class was made before Python supported protocols and structural pattern matching,
    now the class serves little purpose and its usage can create a minor technical burden.