authorgravatar for yujiri@disroot.orgEvin Yulo <yujiri@disroot.org> 2022-09-27 22:04:58+00:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-09-28 13:00:00+03:00
log779c2daa196c0cc8ac6d59441eb47228c1d65aa5
treebb7a610d711bf4a55356b148e9242dc940fab485
parent0a064eae9996ab8be0337bd6f286ce10c5bc8c0f

Remove outdated comment


1 files changed, 0 insertions(+), 1 deletions(-)

lib/std/fs/file.zig-1
...@@ -230,7 +230,6 @@ pub const File = struct {...@@ -230,7 +230,6 @@ pub const File = struct {
230 }230 }
231 if (self.isTty()) {231 if (self.isTty()) {
232 if (self.handle == os.STDOUT_FILENO or self.handle == os.STDERR_FILENO) {232 if (self.handle == os.STDOUT_FILENO or self.handle == os.STDERR_FILENO) {
233 // Use getenvC to workaround https://github.com/ziglang/zig/issues/3511
234 if (os.getenvZ("TERM")) |term| {233 if (os.getenvZ("TERM")) |term| {
235 if (std.mem.eql(u8, term, "dumb"))234 if (std.mem.eql(u8, term, "dumb"))
236 return false;235 return false;