diff options
author | Joe Wilm <joe@jwilm.com> | 2016-12-29 11:09:29 -0500 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-12-29 11:09:29 -0500 |
commit | 689e0f4ad784390c39ed614358f14a722be7dc17 (patch) | |
tree | 9abd8531bf587750532bb2fd0246af537c0015a7 /src/input.rs | |
parent | 5ee031f55fac192530bc779f691221cf98cd4d0f (diff) | |
download | alacritty-689e0f4ad784390c39ed614358f14a722be7dc17.tar.gz alacritty-689e0f4ad784390c39ed614358f14a722be7dc17.zip |
Unify Cursor, Location and name it Point
Diffstat (limited to 'src/input.rs')
-rw-r--r-- | src/input.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input.rs b/src/input.rs index 4339b69f..001f541c 100644 --- a/src/input.rs +++ b/src/input.rs @@ -29,7 +29,7 @@ use glutin::{Mods, mods}; use glutin::{TouchPhase, MouseScrollDelta}; use event::Notify; -use index::{Line, Column, Side, Location}; +use index::{Line, Column, Side, Point}; use selection::Selection; use term::mode::{self, TermMode}; use term::{self, Term}; @@ -209,7 +209,7 @@ impl<'a, N: Notify + 'a> Processor<'a, N> { if self.ctx.mouse.left_button_state == ElementState::Pressed && !self.ctx.terminal.mode().contains(mode::MOUSE_REPORT_CLICK) { - self.ctx.selection.update(Location { + self.ctx.selection.update(Point { line: line, col: column }, self.ctx.mouse.cell_side); |