1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 13:21:38 +03:00

window: fix unused field warning

This commit is contained in:
Wez Furlong 2021-12-12 07:57:59 -07:00
parent 0a3c557845
commit 136b4a9bf1

View File

@ -1258,8 +1258,8 @@ struct KeyboardLayoutInfo {
#[derive(Debug)]
struct DeadKey {
dead_char: char,
vk: u8,
mods: Modifiers,
_vk: u8,
_mods: Modifiers,
map: HashMap<(Modifiers, u8), char>,
}
@ -1456,8 +1456,8 @@ impl KeyboardLayoutInfo {
(mods, vk as u8),
DeadKey {
dead_char,
mods,
vk: vk as u8,
_mods: mods,
_vk: vk as u8,
map,
},
);