mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-04 23:18:40 +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,
|
||||
EscapeStringStyle::Script(EscapeFlags::NO_PRINTABLES | EscapeFlags::NO_QUOTED),
|
||||
);
|
||||
streams.out.append(sprintf!(
|
||||
"$%ls[%d]: |%ls|\n",
|
||||
var_name,
|
||||
i + 1,
|
||||
&escaped_val
|
||||
));
|
||||
streams
|
||||
.out
|
||||
.append(sprintf!("$%ls[%d]: |%ls|\n", var_name, i + 1, &escaped_val));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user