retox icon indicating copy to clipboard operation
retox copied to clipboard

screen not redrawn when window size changes

Open bstpierre opened this issue 7 years ago • 1 comments

When the terminal window changes size, retox doesn't redraw the screen. Then if I force a build, it draws text for the results but it makes a mess out of the screen -- I think it's writing using the old window geometry?

I think it just needs to handle SIGWINCH and do a resize/redraw.

bstpierre avatar Dec 22 '17 14:12 bstpierre

There’s logic in asciimatics to support this but I haven’t implemented it yet. The ui module would need some updating. But thanks for raising this

tonybaloney avatar Dec 22 '17 19:12 tonybaloney