mirror of
https://github.com/wez/wezterm.git
synced 2024-12-01 00:35:46 +03:00
fix dismissing overlays with other mouse clicks
This commit is contained in:
parent
2debfcc624
commit
0bf67d7b69
@ -187,11 +187,12 @@ pub fn launcher(
|
||||
if mouse_buttons == MouseButtons::LEFT {
|
||||
launch(active_idx, &entries, size, mux_window_id, clipboard);
|
||||
break;
|
||||
} else if mouse_buttons != MouseButtons::NONE {
|
||||
// Treat any other mouse button as cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
if mouse_buttons != MouseButtons::NONE {
|
||||
// Treat any other mouse button as cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
InputEvent::Key(KeyEvent {
|
||||
key: KeyCode::Enter,
|
||||
|
@ -127,11 +127,12 @@ pub fn tab_navigator(
|
||||
if mouse_buttons == MouseButtons::LEFT {
|
||||
select_tab_by_idx(active_tab_idx, mux_window_id, &tab_list);
|
||||
break;
|
||||
} else if mouse_buttons != MouseButtons::NONE {
|
||||
// Treat any other mouse button as cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
if mouse_buttons != MouseButtons::NONE {
|
||||
// Treat any other mouse button as cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
InputEvent::Key(KeyEvent {
|
||||
key: KeyCode::Enter,
|
||||
|
Loading…
Reference in New Issue
Block a user