Make clippy happy

pull/485/head
Arijit Basu 2 years ago committed by Arijit Basu
parent 744b68197d
commit 21b8c3e807

@ -376,13 +376,16 @@ impl Runner {
// OSC 7: Change CWD // OSC 7: Change CWD
if !(*ui::NO_COLOR) { if !(*ui::NO_COLOR) {
terminal.backend_mut().write( terminal
.backend_mut()
.write(
format!( format!(
"\x1b]7;file://{}{}\x1b\\", "\x1b]7;file://{}{}\x1b\\",
&app.hostname, &app.pwd &app.hostname, &app.pwd
) )
.as_bytes(), .as_bytes(),
)?; )
.unwrap_or_default();
} }
last_pwd = app.pwd.clone(); last_pwd = app.pwd.clone();

Loading…
Cancel
Save