Closed dankamongmen closed 4 years ago
I think this is a notcurses problem, as I haven't made any changes to growlight recently that would cause this.
Actually, everything is getting drawn, but then when we're done, the screen is getting erased. We see everything again when we exit the program. Odd.
If I tag up ncplane_create()
with diagnostics, we see:
[schwarzgerat](0) $ cat e
Term: 80x74 xterm-256color (xterm with 256 colors)
NEW ONE 74/80 + 0/0
NEW ONE 5/19 + 68/0
NEW ONE 73/80 + 0/0
NEW ONE 73/80 + 0/0
NEW ONE 2/80 + 13/0
NEW ONE 2/80 + 19/0
NEW ONE 2/80 + 25/0
NEW ONE 2/80 + 33/0
NEW ONE 2/80 + 42/0
NEW ONE 2/80 + 48/0
NEW ONE 5/20 + 68/0
that last one looks suspicious
that's rows/cols/yoff/xoff btw
If I run against notcurses-1.1.0, this doesn't happen. It does if I run against notcurses-1.1.1.
The issue hinges on when we emit smcup
.
This is fixed by requiring notcurses 1.1.2+.
When I start the notcurses growlight (1.2.0, notcurses 1.1.1), I get no drawing until I actively do things: