Skip to content

Commit 61fc2e7

Browse files
committed
fmt passed
1 parent d787bb7 commit 61fc2e7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/term.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,9 @@ pub fn terminal_file_link<'a>(
254254
.queue(SetForegroundColor(color))?
255255
.queue(SetAttribute(Attribute::Underlined))?;
256256
writer.stdout().write_all(b"\x1b]8;;file://")?;
257-
writer.stdout().write_all(encoded_spaces_canonical_path.as_bytes())?;
257+
writer
258+
.stdout()
259+
.write_all(encoded_spaces_canonical_path.as_bytes())?;
258260
writer.stdout().write_all(b"\x1b\\")?;
259261
// Only this part is visible.
260262
writer.write_str(path)?;
@@ -271,7 +273,6 @@ fn encode_spaces(path: &str) -> String {
271273
path.replace(" ", "%20")
272274
}
273275

274-
275276
pub fn write_ansi(output: &mut Vec<u8>, command: impl Command) {
276277
struct FmtWriter<'a>(&'a mut Vec<u8>);
277278

0 commit comments

Comments
 (0)