Browse Source
WASI doesn't have an `isatty` ioctl or syscall, so wasi-libc's `isatty` implementation uses the file descriptor type and rights to determine if the file descriptor is likely to be a tty. The real fix here will be to add an `isatty` call to WASI. But for now, have Wasmtime set the filetype and rights for file descriptors so that wasi-libc's `isatty` works as expected.pull/3723/head
Dan Gohman
3 years ago
committed by
GitHub
8 changed files with 74 additions and 8 deletions
Loading…
Reference in new issue