textmode: Load notready() *before* setting term_{cols,rows}
This commit is contained in:
parent
87d0dfa699
commit
5566278736
|
@ -181,6 +181,8 @@ void term_textmode(void) {
|
|||
return;
|
||||
}
|
||||
|
||||
term_notready();
|
||||
|
||||
init_vga_textmode(&term_rows, &term_cols, true);
|
||||
|
||||
if (serial) {
|
||||
|
@ -190,8 +192,6 @@ void term_textmode(void) {
|
|||
|
||||
term_reinit();
|
||||
|
||||
term_notready();
|
||||
|
||||
raw_putchar = text_putchar;
|
||||
clear = text_clear;
|
||||
enable_cursor = text_enable_cursor;
|
||||
|
|
Loading…
Reference in New Issue