1

delete scrollback code

This commit is contained in:
2022-07-23 15:05:34 +02:00
parent 597b823ac3
commit c73e7d3d40
7 changed files with 2 additions and 222 deletions

View File

@ -341,23 +341,4 @@ void Keyboard::trigger() {
if (key.ctrl_left() && key.alt_left() && (char)key == 'r') {
this->reboot();
}
else if ((char)key == 'k' || (char)key == 'j') {
scroll_mode(key);
}
}
// TODO: Where to place this?
// To use keyboard interrupts from different applications more work is needed:
// - Ereignisverwaltung, wo man Threads registrieren kann
// - Blockierte Threads verwalten und aufwecken bei ereignissen
// Waits for keys to control the scrollback buffer display
void scroll_mode(Key key) {
switch ((char)key) {
case 'k':
kout.scroll_page_backward();
break;
case 'j':
kout.scroll_page_forward();
break;
}
}