hook up pty master to libuv

This commit is contained in:
Mitchell Hashimoto
2022-04-25 19:32:39 -07:00
parent 4bb2808d73
commit cf40a33fdd
2 changed files with 31 additions and 1 deletions

View File

@@ -57,7 +57,7 @@ pub fn open(size: winsize) !Pty {
}
pub fn deinit(self: *Pty) void {
std.os.close(self.master);
_ = std.os.system.close(self.master);
self.* = undefined;
}