diff --git a/tngame-rs/src/main.rs b/tngame-rs/src/main.rs index fe0b65f..1a33e06 100644 --- a/tngame-rs/src/main.rs +++ b/tngame-rs/src/main.rs @@ -405,8 +405,10 @@ async fn pull_input(mt: Arc>, cn: &Consts) -> Result<()> { mt.should_exit = true; break; }, - "a" => move_x(-1), - "d" => move_x(1), + // Move left on a or left arrow + "a" | "\x1b[D" => move_x(-1), + // Move right on d or right arrow + "d" | "\x1b[C" => move_x(1), _ => (), } }