termio: hook up OSC8

This commit is contained in:
Mitchell Hashimoto
2024-07-04 10:49:53 -07:00
parent f920068ce6
commit 245314b14e
2 changed files with 16 additions and 3 deletions

View File

@@ -2358,6 +2358,14 @@ const StreamHandler = struct {
}
}
pub fn startHyperlink(self: *StreamHandler, uri: []const u8, id: ?[]const u8) !void {
try self.terminal.screen.startHyperlink(uri, id);
}
pub fn endHyperlink(self: *StreamHandler) !void {
self.terminal.screen.endHyperlink();
}
pub fn deviceAttributes(
self: *StreamHandler,
req: terminal.DeviceAttributeReq,