read: Remove super old TODO

This was never a problem. If we need it, it's in the git log
This commit is contained in:
Fabian Homborg 2021-12-14 20:29:07 +01:00
parent 9172ab5983
commit a0e639e1fa

View file

@ -494,8 +494,6 @@ maybe_t<int> 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.