move initial page display to scroll_mode
This commit is contained in:
@ -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) {};
|
||||
|
||||
Reference in New Issue
Block a user