diff --git a/c_os/main.cc b/c_os/main.cc index eeb6725..dbd103d 100755 --- a/c_os/main.cc +++ b/c_os/main.cc @@ -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) {};