scrolling bug fix

This commit is contained in:
Julian Barathieu 2019-05-18 19:57:57 +02:00
parent 2479da7291
commit b82dc4f0a3
1 changed files with 2 additions and 0 deletions

View File

@ -79,9 +79,11 @@ error_t bvgaflusher(Buffer_t *buf)
void IoScrollDown(void)
{
BLockBuf(BStdOut);
if (bscroll > 0)
bscroll--;
bvgaflusher(BStdOut);
BUnlockBuf(BStdOut);
}