term: Unbreak textmode + serial combo

This commit is contained in:
mintsuki 2022-10-06 03:58:04 +02:00
parent 6e1c792e41
commit 610a98d8b2

View File

@ -317,8 +317,8 @@ void vga_textmode_init(bool managed) {
text_double_buffer_flush(term);
if (managed && serial) {
term->cols = term->cols > 80 ? 80 : term->cols;
term->rows = term->rows > 24 ? 24 : term->rows;
term->cols = 80;
term->rows = 24;
} else {
term->cols = 80;
term->rows = 25;