this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(zig-0.15): use new API for osc7 escape code output

authored by

CJ van den Berg and committed by
Tim Culverhouse
2cbb665c 551e7cd6

+2 -2
+1 -1
src/Vaxis.zig
··· 1411 1411 .host = .{ .raw = hostname }, 1412 1412 .path = .{ .raw = path }, 1413 1413 }; 1414 - try tty.print(ctlseqs.osc7, .{uri}); 1414 + try tty.print(ctlseqs.osc7, .{uri.fmt(.{ .scheme = true, .authority = true, .path = true })}); 1415 1415 try tty.flush(); 1416 1416 }
+1 -1
src/ctlseqs.zig
··· 123 123 124 124 // OSC sequences 125 125 pub const osc2_set_title = "\x1b]2;{s}\x1b\\"; 126 - pub const osc7 = "\x1b]7;{;+/}\x1b\\"; 126 + pub const osc7 = "\x1b]7;{f}\x1b\\"; 127 127 pub const osc8 = "\x1b]8;{s};{s}\x1b\\"; 128 128 pub const osc8_clear = "\x1b]8;;\x1b\\"; 129 129 pub const osc9_notify = "\x1b]9;{s}\x1b\\";