not working
This commit is contained in:
+10
-1
@@ -1,6 +1,11 @@
|
||||
// use x86_64::registers::rflags::read;
|
||||
|
||||
use crate::{drivers::io::ascii::clear_screen, prelude::stdin::read_line, print, println};
|
||||
use alloc::vec::Vec;
|
||||
|
||||
use crate::{
|
||||
drivers::io::ascii::clear_screen, prelude::stdin::read_line, print, println,
|
||||
std::application::Application, util::editor::Editor,
|
||||
};
|
||||
|
||||
static FETCH: &str = "
|
||||
$$$$$$$$\\ $$\\
|
||||
@@ -31,6 +36,10 @@ pub async fn shell() {
|
||||
"fetch" => {
|
||||
println!("{}", FETCH);
|
||||
}
|
||||
"editor" => {
|
||||
let mut editor = Editor::new();
|
||||
editor.run(Vec::new()).await.unwrap();
|
||||
}
|
||||
"clear" => clear_screen(),
|
||||
_ => {
|
||||
println!("Unknown command: {}", line);
|
||||
|
||||
Reference in New Issue
Block a user