mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-20 10:46:07 +03:00
core: enable link hovering
This commit is contained in:
@ -2485,10 +2485,12 @@ fn linkAtPos(
|
|||||||
.semantic_prompt_boundary = false,
|
.semantic_prompt_boundary = false,
|
||||||
}) orelse return null;
|
}) orelse return null;
|
||||||
|
|
||||||
// TODO(paged-terminal)
|
var strmap: terminal.StringMap = undefined;
|
||||||
if (true) return null;
|
self.alloc.free(try screen.selectionString(self.alloc, .{
|
||||||
|
.sel = line,
|
||||||
const strmap = try line.stringMap(self.alloc);
|
.trim = false,
|
||||||
|
.map = &strmap,
|
||||||
|
}));
|
||||||
defer strmap.deinit(self.alloc);
|
defer strmap.deinit(self.alloc);
|
||||||
|
|
||||||
// Go through each link and see if we clicked it
|
// Go through each link and see if we clicked it
|
||||||
|
Reference in New Issue
Block a user