Improved terminal selection ergonomics
This commit is contained in:
parent
a8e05c946e
commit
2ae3fbd6b2
2 changed files with 4 additions and 22 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue