mirror of
https://github.com/wez/wezterm.git
synced 2024-12-27 15:37:29 +03:00
try again with squashing out caps+numlock
refs: https://github.com/wez/wezterm/issues/3514
This commit is contained in:
parent
0abc28dae0
commit
9b1321fac1
@ -59,13 +59,15 @@ impl super::TermWindow {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn mouse_event_impl(&mut self, event: MouseEvent, context: &dyn WindowOps) {
|
||||
pub fn mouse_event_impl(&mut self, mut event: MouseEvent, context: &dyn WindowOps) {
|
||||
log::trace!("{:?}", event);
|
||||
let pane = match self.get_active_pane_or_overlay() {
|
||||
Some(pane) => pane,
|
||||
None => return,
|
||||
};
|
||||
|
||||
event.modifiers = event.modifiers.remove_keyboard_status_mods();
|
||||
|
||||
self.current_mouse_event.replace(event.clone());
|
||||
|
||||
let border = self.get_os_border();
|
||||
|
Loading…
Reference in New Issue
Block a user