refactor(utils): use new zig stdout implementation
This commit is contained in:
@@ -9,7 +9,7 @@ pub const TermSize = struct {
|
||||
pub fn getTerminalSize() !TermSize {
|
||||
// https://github.com/softprops/zig-termsize (https://github.com/softprops/zig-termsize/blob/main/src/main.zig)
|
||||
|
||||
const stdout = std.io.getStdOut();
|
||||
const stdout = std.fs.File.stdout();
|
||||
|
||||
switch (builtin.os.tag) {
|
||||
.windows => {
|
||||
|
||||
Reference in New Issue
Block a user