aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.rs')
-rw-r--r--src/input.rs4
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);