devottys / darkdraw

unicode art and animation in the terminal
Other
67 stars 4 forks source link

[ansihtml-] load maxX and maxY for Drawing before saving #16

Closed anjakefala closed 1 year ago

anjakefala commented 1 year ago

Since we are instantiating a fresh Drawing() object, we need to make sure it had done its reload. The reload is where maxX and maxY are set.

This fixes saving .ansihtml during a session.