From 49cebd277cc0bc68965d615117b89b51c8f2c5f1 Mon Sep 17 00:00:00 2001 From: kamkow1 Date: Wed, 8 Oct 2025 19:03:30 +0200 Subject: [PATCH] back to old default colors --- kernel/arch/x86_64/x86_64.mk | 2 +- kernel/term/term.c | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/kernel/arch/x86_64/x86_64.mk b/kernel/arch/x86_64/x86_64.mk index 7eb27bd..e87d823 100644 --- a/kernel/arch/x86_64/x86_64.mk +++ b/kernel/arch/x86_64/x86_64.mk @@ -11,7 +11,7 @@ CFLAGS += -m64 \ -mno-red-zone \ -fno-stack-protector \ -fno-stack-check \ - -Os \ + -O0 \ LDFLAGS += -m elf_x86_64 \ -pie \ diff --git a/kernel/term/term.c b/kernel/term/term.c index d1df092..5730f41 100644 --- a/kernel/term/term.c +++ b/kernel/term/term.c @@ -51,12 +51,18 @@ void term_doinit(void *addr) { BOOT_INFO.fb->blue_mask_size, BOOT_INFO.fb->blue_mask_shift, NULL, // canvas - ansi_colours, // ansi colors - ansi_bright_colours, // ansi bright colors - &default_bg, // default bg - &default_fg, // default fg - &default_fg_bright, // default bg bright - &default_bg_bright, // default fg bright + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + /* ansi_colours, // ansi colors */ + /* ansi_bright_colours, // ansi bright colors */ + /* &default_bg, // default bg */ + /* &default_fg, // default fg */ + /* &default_fg_bright, // default bg bright */ + /* &default_bg_bright, // default fg bright */ FM_T_437_F16, 8, 16,