mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
WI{
This commit is contained in:
parent
ba32dcbb88
commit
b3202c382d
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue