:: commit 33dac9b38ac40ba90cf35c4c34f195712b70a32f

mintsuki <mintsuki@protonmail.com> — 2022-10-06 01:58

parents: 5bbda71da2

term: Unbreak textmode + serial combo

diff --git a/common/drivers/vga_textmode.c b/common/drivers/vga_textmode.c
index 163e1eb9..fbc517b9 100644
--- a/common/drivers/vga_textmode.c
+++ b/common/drivers/vga_textmode.c
@@ -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;
tab: 248 wrap: offon