textual-canvas ChangeLog
v1.1.0
Released: 2025-10-02
- Fixed a typo in message of the exception thrown when there's an attempt to plot outside of the canvas. (#28, with thanks to @dnlzrgz).
- Reduced the number of attribute lookups that happen within various loops within the code. (#31)
v1.0.0
Released: 2025-09-13
- Migrated from
rye
touv
for development management. (#22) - Added Python 3.14 as a tested/supported Python version. (#23)
- Added unit and snapshot tests. (#25)
v0.4.0
Released: 2025-04-16
- Added
width
andheight
parameters toCanvas.clear
. (#17)
v0.3.0
Released: 2025-04-15
- Renamed
color
__init__
parameter tocanvas_color
. (#7) - Added
pen_color
as an__init__
parameter; defaults to the widget's currently-styledcolor
. (#7) - Made the "void"'s colour the widget's styled background colour. (#7)
- Made the canvas colour optional; defaulting to the widget's currently-styled background colour. (#7)
- Made all
color
parameters for drawing methods optional, defaulting to the current "pen colour". (#7) - Added
set_pen
. (#7) - Fixed off-by-one issue with
draw_rectangle
. (#10) - Added
Canvas.clear_pixels
. (#11) - Added
Canvas.clear_pixel
. (#11) - Added an optional
refresh
parameter to all drawing methods. (#15) - Added a
Canvas.batch_refresh
context manager. (#15)
v0.2.0
Released: 2023-07-16
- Dropped Python 3.7 as a supported Python version.
- Added
Canvas.clear
v0.1.0
Released: 2023-04-01
- Allow for drawing shapes partially off the canvas.
- Added support for drawing circles.
v0.0.1
Released: 2023-03-27
Initial release.