term: Unbreak textmode + serial combo

This commit is contained in:
mintsuki 2022-10-06 03:58:04 +02:00
parent 5bbda71da2
commit 33dac9b38a
1 changed files with 2 additions and 2 deletions

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;