Move keyboard interrupt handler to kbd.rs