mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 15:44:20 +03:00
WI{
This commit is contained in:
parent
ba32dcbb88
commit
b3202c382d
@ -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 New Issue
Block a user