this repo has no description
13
fork

Configure Feed

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

vt: fix for zig-0.14.0

+6 -6
+1 -1
src/widgets/terminal/Command.zig
··· 69 69 }, 70 70 .flags = 0, 71 71 }; 72 - try posix.sigaction(posix.SIG.CHLD, &act, null); 72 + posix.sigaction(posix.SIG.CHLD, &act, null); 73 73 } 74 74 75 75 return;
+4 -4
src/widgets/terminal/Pty.zig
··· 27 27 /// sets the size of the pty 28 28 pub fn setSize(self: Pty, ws: Winsize) !void { 29 29 const _ws: posix.winsize = .{ 30 - .ws_row = @truncate(ws.rows), 31 - .ws_col = @truncate(ws.cols), 32 - .ws_xpixel = @truncate(ws.x_pixel), 33 - .ws_ypixel = @truncate(ws.y_pixel), 30 + .row = @truncate(ws.rows), 31 + .col = @truncate(ws.cols), 32 + .xpixel = @truncate(ws.x_pixel), 33 + .ypixel = @truncate(ws.y_pixel), 34 34 }; 35 35 if (posix.system.ioctl(self.pty, posix.T.IOCSWINSZ, @intFromPtr(&_ws)) != 0) 36 36 return error.SetWinsizeError;
+1 -1
src/widgets/terminal/Terminal.zig
··· 169 169 try self.working_directory.appendSlice(pwd); 170 170 } else { 171 171 const pwd = std.fs.cwd(); 172 - var buffer: [std.fs.MAX_PATH_BYTES]u8 = undefined; 172 + var buffer: [std.fs.max_path_bytes]u8 = undefined; 173 173 const out_path = try std.os.getFdPath(pwd.fd, &buffer); 174 174 try self.working_directory.appendSlice(out_path); 175 175 }