Improved terminal selection ergonomics

This commit is contained in:
Mikayla Maki 2022-09-26 19:37:55 -07:00
parent a8e05c946e
commit 2ae3fbd6b2
2 changed files with 4 additions and 22 deletions

View file

@ -429,17 +429,6 @@ impl TerminalElement {
},
),
)
// Handle click based selections
.on_click(
MouseButton::Left,
TerminalElement::generic_button_handler(
connection,
origin,
move |terminal, origin, e, _cx| {
terminal.left_click(&e, origin);
},
),
)
// Context menu
.on_click(MouseButton::Right, move |e, cx| {
let mouse_mode = if let Some(conn_handle) = connection.upgrade(cx.app) {