mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 04:41:14 -03:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user