Peanut-GB
Peanut-GB copied to clipboard
Avoid rendering both the background and window on the same line
From what I understand, if the window is active on a given line it'll completely cover the background, so there's no need to draw both of them. In addition, this PR will only clear the buffer if neither the window nor the background are active, which improves performance a bit.