AustinScola / illud

Text buffer editor and terminal viewer.
MIT License
1 stars 0 forks source link

Add canvas fill #250

Closed AustinScola closed 3 years ago

AustinScola commented 3 years ago

Add the ability to fill the canvas with a character. This would be particularly useful for the window drawing test cases where the are lots of canvases of the sort: Canvas(IntegerSize2D(3, 2), [['x', 'x', 'x'], ['x', 'x', 'x']]). Instead, it would be nice to be able to do Canvas(IntegerSize2D(3, 2)).fill('x').