made significant upgrades to the rendering API. now need to move all applications to the new API and deprecate the old one.

This commit is contained in:
2025-02-18 03:59:34 +00:00
parent a8b8d61112
commit c3c4633cf1
7 changed files with 172 additions and 84 deletions
+2 -1
View File
@@ -7,7 +7,7 @@
use bootloader::{entry_point, BootInfo};
use core::panic::PanicInfo;
use CrystalOS::std::tasks::{Executor, Task};
use CrystalOS::{printerr, std::syscall};
use CrystalOS::{printerr, serial_println, std::syscall};
extern crate alloc;
use CrystalOS::user::bin::shell;
@@ -16,6 +16,7 @@ use CrystalOS::user::bin::shell;
fn panic(_info: &PanicInfo) -> ! {
syscall::terminal_mode_force();
printerr!("{}", _info);
serial_println!("{}", _info);
CrystalOS::hlt();
}