pub fn isTty(file: File, io: Io) Io.Cancelable!bool
Test whether the file refers to a terminal (similar to libc "isatty").
See also:
enableAnsiEscapeCodes
supportsAnsiEscapeCodes
file: File
io: Io
241 242 243
pub fn isTty(file: File, io: Io) Io.Cancelable!bool { return io.vtable.fileIsTty(io.userdata, file); }
Test whether the file refers to a terminal (similar to libc "isatty").
See also:
enableAnsiEscapeCodessupportsAnsiEscapeCodes.