Skip to content

Commit

Permalink
bug: *nix
Browse files Browse the repository at this point in the history
  • Loading branch information
const-void committed Feb 2, 2025
1 parent b3ddd8a commit 7fe99f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ pub fn getTermSz() !TermSz {
defer lldb_tty_nix.close();

var lldb_winsz = std.c.winsize{ .ws_col = 0, .ws_row = 0, .ws_xpixel = 0, .ws_ypixel = 0 };
const lldb_rv = std.c.ioctl(lldb_tty_nix, TIOCGWINSZ, @intFromPtr(&lldb_winsz));
const lldb_rv = std.c.ioctl(lldb_tty_nix.handle, TIOCGWINSZ, @intFromPtr(&lldb_winsz));
const lldb_err = std.posix.errno(lldb_rv);

if (lldb_rv >= 0) {
Expand Down

0 comments on commit 7fe99f2

Please # to comment.