Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
adamperkowski committed Aug 5, 2024
1 parent b39b47a commit 12c286c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion shell/src/interrupts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ extern "x86-interrupt" fn keyboard_interrupt_handler(_stack_frame: InterruptStac
}
}

// clear_buffer();
for i in cmd_history.history
[cmd_history.history.len() - cmd_history.last - 1]
.chars()
Expand Down
5 changes: 0 additions & 5 deletions shell/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ pub fn init_kernel(boot_info: &'static BootInfo) {

allocator::init_heap(&mut mapper, &mut frame_allocator).expect("Heap initialization failed");

// let args: vec::Vec<&str> = vec![""];
// (COMMAND_LIST[1].fun)(args);

#[cfg(debug_assertions)]
print!(
"\nHighlightOS Shell v{} DEBUG\n\nhls < ",
Expand Down Expand Up @@ -76,8 +73,6 @@ fn kernel_main(boot_info: &'static BootInfo) -> ! {
if let Some(command) = COMMAND_LIST.iter().find(|&com| com.name == req_com) {
args.remove(0);

// print!("\n");

let rtr = (command.fun)(args);

if rtr != 1 {
Expand Down

0 comments on commit 12c286c

Please sign in to comment.