From b82dc4f0a392d2b3a3e661b113b1c3e9c5666be0 Mon Sep 17 00:00:00 2001 From: Julian Barathieu Date: Sat, 18 May 2019 19:57:57 +0200 Subject: [PATCH] scrolling bug fix --- kaleid/kernel/io/vga.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kaleid/kernel/io/vga.c b/kaleid/kernel/io/vga.c index 367f2b4..1c6a752 100644 --- a/kaleid/kernel/io/vga.c +++ b/kaleid/kernel/io/vga.c @@ -79,9 +79,11 @@ error_t bvgaflusher(Buffer_t *buf) void IoScrollDown(void) { + BLockBuf(BStdOut); if (bscroll > 0) bscroll--; bvgaflusher(BStdOut); + BUnlockBuf(BStdOut); }