aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2018-05-29 21:45:28 -0700
committerJoe Wilm <joe@jwilm.com>2018-06-02 09:56:50 -0700
commit24c50fa0a793cd8c6127b5cf8ba3ea59f47cc1ca (patch)
tree157b787700bead0558a0f88ef4a62f0f24fb6cdb /src/event.rs
parenta2f99883773676a9dcc537afff4bce54e04e412b (diff)
downloadalacritty-24c50fa0a793cd8c6127b5cf8ba3ea59f47cc1ca.tar.gz
alacritty-24c50fa0a793cd8c6127b5cf8ba3ea59f47cc1ca.zip
Remove dead code
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;
}