Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Revert previous change

Mikayla Maki733abc9ed2fd
diff --git a/crates/terminal/src/terminal.rs b/crates/terminal/src/terminal.rs
index 071aa55cd98..9338253ff59 100644
--- a/crates/terminal/src/terminal.rs
+++ b/crates/terminal/src/terminal.rs
@@ -7,7 +7,7 @@ use alacritty_terminal::{
event::{Event as AlacTermEvent, EventListener, Notify, WindowSize},
event_loop::{EventLoop, Msg, Notifier},
grid::{Dimensions, Scroll as AlacScroll},
- index::{Column, Direction as AlacDirection, Line, Point},
+ index::{Column, Direction as AlacDirection, Line, Point, Side},
selection::{Selection, SelectionRange, SelectionType},
sync::FairMutex,
term::{
@@ -1028,7 +1028,7 @@ impl Terminal {
);
// Use .opposite so that selection is inclusive of the cell clicked.
- let side = mouse_side(position, self.last_content.size).opposite();
+ let side = mouse_side(position, self.last_content.size);
let selection_type = match e.click_count {
0 => return, //This is a release