mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-05 02:28:56 +08:00
fmt
I still hate this
This commit is contained in:
parent
46b4ab92e5
commit
00c68145b8
@ -665,12 +665,9 @@ fn show_scope(var_name: &wstr, scope: EnvMode, streams: &mut IoStreams, vars: &d
|
|||||||
value,
|
value,
|
||||||
EscapeStringStyle::Script(EscapeFlags::NO_PRINTABLES | EscapeFlags::NO_QUOTED),
|
EscapeStringStyle::Script(EscapeFlags::NO_PRINTABLES | EscapeFlags::NO_QUOTED),
|
||||||
);
|
);
|
||||||
streams.out.append(sprintf!(
|
streams
|
||||||
"$%ls[%d]: |%ls|\n",
|
.out
|
||||||
var_name,
|
.append(sprintf!("$%ls[%d]: |%ls|\n", var_name, i + 1, &escaped_val));
|
||||||
i + 1,
|
|
||||||
&escaped_val
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user