1

use tree allocator

This commit is contained in:
churl
2022-05-10 00:21:00 +02:00
parent b7fbb822c1
commit 824b8e9ddf
3 changed files with 9 additions and 4 deletions

View File

@ -24,10 +24,12 @@ void scroll_mode() {
switch ((char)key) {
case 'k':
kout.show(kout.COLUMNS - 1, 0, (char)(48 + kout.scroll_page_backward()));
kout.scroll_page_backward();
kout.show(kout.COLUMNS - 1, 0, (char)(48 + kout.current_page));
break;
case 'j':
kout.show(kout.COLUMNS - 1, 0, (char)(48 + kout.scroll_page_forward()));
kout.scroll_page_forward();
kout.show(kout.COLUMNS - 1, 0, (char)(48 + kout.current_page));
break;
}
}