add user_error stream (#917)
This commit is contained in:
@@ -1331,7 +1331,7 @@ impl<'a, Outputter: HCValueOutputter> HCPrinter<'a, Outputter> {
|
||||
self.print_atom(alias);
|
||||
} else {
|
||||
if self.format_struct(iter, max_depth, 1, clause_name!("$stream")) {
|
||||
let atom = if stream.is_stdout() || stream.is_stdin() {
|
||||
let atom = if stream.is_stdout() || stream.is_stdin() || stream.is_stderr() {
|
||||
TokenOrRedirect::Atom(clause_name!("user"))
|
||||
} else {
|
||||
TokenOrRedirect::RawPtr(stream.as_ptr())
|
||||
|
||||
Reference in New Issue
Block a user