1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-27 07:18:13 +03:00

x11: add KP_End keysym mapping

refs: #1804
This commit is contained in:
Wez Furlong 2022-04-03 07:36:48 -07:00
parent a3d4f09b07
commit 7526b0567c

View File

@ -90,6 +90,7 @@ pub fn keysym_to_keycode(keysym: u32) -> Option<KeyCode> {
KEY_KP_Enter => KeyCode::Char(0xdu8 as char),
KEY_KP_Delete => KeyCode::Char('\u{7f}'),
KEY_KP_Home => KeyCode::Home,
KEY_KP_End => KeyCode::End,
KEY_KP_Page_Up => KeyCode::PageUp,
KEY_KP_Page_Down => KeyCode::PageDown,
KEY_KP_Multiply => KeyCode::Multiply,