diff --git a/wezterm-input-types/src/lib.rs b/wezterm-input-types/src/lib.rs index 326fbbb34..7741c5688 100644 --- a/wezterm-input-types/src/lib.rs +++ b/wezterm-input-types/src/lib.rs @@ -169,6 +169,16 @@ impl KeyCode { Self::Char('x') | Self::Char('X') => PhysKeyCode::X, Self::Char('y') | Self::Char('Y') => PhysKeyCode::Y, Self::Char('z') | Self::Char('Z') => PhysKeyCode::Z, + Self::Char('0') => PhysKeyCode::K0, + Self::Char('1') => PhysKeyCode::K1, + Self::Char('2') => PhysKeyCode::K2, + Self::Char('3') => PhysKeyCode::K3, + Self::Char('4') => PhysKeyCode::K4, + Self::Char('5') => PhysKeyCode::K5, + Self::Char('6') => PhysKeyCode::K6, + Self::Char('7') => PhysKeyCode::K7, + Self::Char('8') => PhysKeyCode::K8, + Self::Char('9') => PhysKeyCode::K9, Self::Char('\\') => PhysKeyCode::Backslash, Self::Char(',') => PhysKeyCode::Comma, Self::Char('\u{8}') => PhysKeyCode::Backspace,