mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 03:21:16 -03:00
Make the \c special character in echo suppress the newline too
This commit is contained in:
@@ -1633,7 +1633,7 @@ static int builtin_echo( parser_t &parser, wchar_t **argv )
|
||||
}
|
||||
}
|
||||
}
|
||||
if (print_newline)
|
||||
if (print_newline && continue_output)
|
||||
stdout_buffer.push_back('\n');
|
||||
return STATUS_BUILTIN_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user