Skip to content

Commit

Permalink
Make left/right debug-only
Browse files Browse the repository at this point in the history
  • Loading branch information
adamperkowski committed Jul 28, 2024
1 parent 0bc2a54 commit 38fe3da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shell/src/interrupts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,12 @@ extern "x86-interrupt" fn keyboard_interrupt_handler(_stack_frame: InterruptStac
}

KeyCode::ArrowLeft => {
#[cfg(debug_assertions)]
WRITER.lock().decrement_column_position();
}

KeyCode::ArrowRight => {
#[cfg(debug_assertions)]
WRITER.lock().increment_column_position();
}

Expand Down

0 comments on commit 38fe3da

Please sign in to comment.