Add function for evaluating shell commands
This commit is contained in:
parent
07e6944428
commit
136bb8b8d8
|
@ -11,6 +11,7 @@
|
|||
mod vga_buffer;
|
||||
mod interrupts;
|
||||
mod gdt;
|
||||
mod shell;
|
||||
use core::panic::PanicInfo;
|
||||
|
||||
|
||||
|
|
7
src/shell.rs
Normal file
7
src/shell.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
use crate::println;
|
||||
|
||||
pub fn evaluate(command: &str) {
|
||||
println!();
|
||||
println!();
|
||||
println!("[ {} ]", command.trim());
|
||||
}
|
Loading…
Reference in a new issue