mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Revert "use is_interactive instead of isatty to test whether we are in interactive mode"
This reverts commit ceba377ab8
.
This commit is contained in:
parent
fa148bf59f
commit
e0ba91db31
1 changed files with 1 additions and 1 deletions
|
@ -2207,7 +2207,7 @@ static int builtin_read( wchar_t **argv )
|
|||
/*
|
||||
Check if we should read interactively using \c reader_readline()
|
||||
*/
|
||||
if( is_interactive && builtin_stdin == 0 )
|
||||
if( isatty(0) && builtin_stdin == 0 )
|
||||
{
|
||||
wchar_t *line;
|
||||
|
||||
|
|
Loading…
Reference in a new issue