summaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index 37e4eccf..ff95c880 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -99,7 +99,7 @@ impl<'a, N: Notify + 'a> input::ActionContext for ActionContext<'a, N> {
fn semantic_selection(&mut self, point: Point) {
let point = self.terminal.visible_to_buffer(point);
- *self.terminal.selection_mut() = Some(Selection::semantic(point, &*self.terminal));
+ *self.terminal.selection_mut() = Some(Selection::semantic(point));
self.terminal.dirty = true;
}