From a0e639e1fa4379ea6f22aac87d7c0ff889586521 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 14 Dec 2021 20:29:07 +0100 Subject: [PATCH] read: Remove super old TODO This was never a problem. If we need it, it's in the git log --- src/builtins/read.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/builtins/read.cpp b/src/builtins/read.cpp index 3aa3bb3bb..a72e66de3 100644 --- a/src/builtins/read.cpp +++ b/src/builtins/read.cpp @@ -494,8 +494,6 @@ maybe_t builtin_read(parser_t &parser, io_streams_t &streams, const wchar_t do { buff.clear(); - // TODO: Determine if the original set of conditions for interactive reads should be - // reinstated: if (isatty(0) && streams.stdin_fd == STDIN_FILENO && !split_null) { int stream_stdin_is_a_tty = isatty(streams.stdin_fd); if (stream_stdin_is_a_tty && !opts.split_null) { // Read interactively using reader_readline(). This does not support splitting on null.