- added a new API for switching between terminal and application mode
- removed unneeded imports to reduce the dumb amount of warnings from the compiler - added a bounds check in frame.rs to avoid a panic when a frame tries to render a character out of bounds, instead returning an error
This commit is contained in:
+1
-5
@@ -7,7 +7,7 @@
|
||||
use bootloader::{entry_point, BootInfo};
|
||||
use core::panic::PanicInfo;
|
||||
use CrystalOS::std::tasks::{Executor, Task};
|
||||
use CrystalOS::{print, print_log, printerr, println, println_log, std::syscall};
|
||||
use CrystalOS::{printerr, std::syscall};
|
||||
extern crate alloc;
|
||||
use CrystalOS::user::bin::shell;
|
||||
|
||||
@@ -40,9 +40,5 @@ fn main(boot_info: &'static BootInfo) -> ! {
|
||||
loop {
|
||||
executor.try_run();
|
||||
}
|
||||
|
||||
|
||||
|
||||
loop {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user