From b5919c05557b0ee160e6e834df563e71b5f28243 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Thu, 7 Jul 2022 14:54:36 -0700 Subject: [PATCH] Fixed merge conflict --- crates/terminal/src/terminal_element.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/terminal/src/terminal_element.rs b/crates/terminal/src/terminal_element.rs index ad928068ed..b629a6c345 100644 --- a/crates/terminal/src/terminal_element.rs +++ b/crates/terminal/src/terminal_element.rs @@ -255,6 +255,7 @@ impl Element for TerminalEl { let (point, side) = mouse_to_cell_data(pos, origin, cur_size, display_offset); let selection_type = match click_count { + 0 => return, //This is a release 1 => Some(SelectionType::Simple), 2 => Some(SelectionType::Semantic), 3 => Some(SelectionType::Lines), @@ -279,8 +280,7 @@ impl Element for TerminalEl { } else { term.selection = Some(Selection::new(SelectionType::Simple, point, side)); } - - cx.notify() + cx.notify(); })), ..Default::default() });