I've been playing around with a simple program that randomly prints user generated strings of text with foreground and background colors that can be both randomly generated and user generated. Thanks to a handful of personal heroes the other day (yesterday even? it all blurs together) I've now worked out most of the bugs.
Something I found a fix for that I'd like to understand more about is this, though: These text strings print line by line as you can see in the attached image, and all is well until the last line on the screen. For some reason whenever that happens, suddenly the background color is bled out beyond the string of text, all the way to the end of the screen, and then one or so spaces down on the next line. In QB64 the resolution raises (annoyingly) when the printed text tries to move beyond the screen and it stops doing it after one or two lines.
On my 486, in Qbasic, every new line bleeds the background color like that.
The fix was to add a COLOR 0, 0 after the PRINT statement for the random string, so that's, cool. But yeah. Anyone know why it does that suddenly when the screen scrolls?
Also, is there any way to stop the resolution from changing in QB64 when my printed lines pass the bottom? I'd like it to just scroll rather than zoom out, like it does in Qbasic. It's just a couple of dumb little programs I'm working on to aid in my art practice (I'm a studio practice grad student), but I was hoping to have them behave similarly on the older and newer machines if possible. The resolution funny-business is actually kind of a big deal, as I rely on the visual output and need to keep it clear.
Thanks again!