Missing IsTerminal::is_terminal
for files and stdin
#6407
Labels
A-tokio
Area: The main tokio crate
C-feature-request
Category: A feature request.
M-io
Module: tokio/io
M-process
Module: tokio/process
S-blocked-on-msrv
Status: need an MSRV bump to progress
Is your feature request related to a problem? Please describe.
As far as I see (correct me if I'm wrong) I don't see any
IsTerminal::is_terminal
alternative known from std lib.None of
tokio::fs::File
nortokio::io::Stdin
doesn't have anyIsTerminal
implementation.Are there plans to change it soon?
Describe the solution you'd like
I am not familiar with async world but maybe those structs should just impl
std::io::IsTerminal
?The text was updated successfully, but these errors were encountered: