1

move initial page display to scroll_mode

This commit is contained in:
churl
2022-05-09 16:20:56 +02:00
parent 6f6301d5d0
commit 25e82cefdd

View File

@ -16,6 +16,8 @@
// Waits for keys to control the scrollback buffer display
void scroll_mode() {
kout.show(kout.COLUMNS - 1, 0, (char)(48 + kout.current_page));
Key key;
while (true) {
key = kb.key_hit();
@ -47,8 +49,6 @@ int main() {
// keyboard_demo();
heap_demo();
kout.show(kout.COLUMNS - 1, 0, (char)(48 + kout.current_page));
scroll_mode();
while (1) {};