From b3202c382dd9290956e912674cd097462abb917e Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Mon, 19 Sep 2022 17:21:24 -0700 Subject: [PATCH] WI{ --- crates/terminal/src/terminal.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/terminal/src/terminal.rs b/crates/terminal/src/terminal.rs index d1e417c9b8..72aa28cb80 100644 --- a/crates/terminal/src/terminal.rs +++ b/crates/terminal/src/terminal.rs @@ -110,6 +110,7 @@ enum InternalEvent { ScrollToPoint(Point), SetSelection(Option<(Selection, Point)>), UpdateSelection(Vector2F), + // Adjusted mouse position, should open Hyperlink(Vector2F, bool), Copy, } @@ -649,7 +650,7 @@ impl Terminal { } } InternalEvent::ScrollToPoint(point) => term.scroll_to_point(*point), - InternalEvent::Hyperlink(position, _hover) => { + InternalEvent::Hyperlink(position, open) => { let point = grid_point( *position, self.last_content.size,