scrolling bug fix
This commit is contained in:
parent
8d23c076eb
commit
2479da7291
|
@ -90,7 +90,6 @@ void IoScrollUp(void)
|
||||||
BLockBuf(BStdOut);
|
BLockBuf(BStdOut);
|
||||||
|
|
||||||
uchar *currentLine = BStdOut->wp - BStdOut->lastLF;
|
uchar *currentLine = BStdOut->wp - BStdOut->lastLF;
|
||||||
assert(currentLine >= BStdOut->buf);
|
|
||||||
|
|
||||||
// Scrollable lines
|
// Scrollable lines
|
||||||
uint scrabble = max(0, (currentLine-BStdOut->buf)/BStdOut->lineLen
|
uint scrabble = max(0, (currentLine-BStdOut->buf)/BStdOut->lineLen
|
||||||
|
@ -100,7 +99,6 @@ void IoScrollUp(void)
|
||||||
bscroll++;
|
bscroll++;
|
||||||
|
|
||||||
bvgaflusher(BStdOut);
|
bvgaflusher(BStdOut);
|
||||||
|
|
||||||
BUnlockBuf(BStdOut);
|
BUnlockBuf(BStdOut);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue