OSC 7 fixes

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
pull/485/head
Arijit Basu 2 years ago
parent 3c8f6e1b08
commit 2f9992bf8b

@ -758,7 +758,8 @@ impl App {
if save_history {
self.history = self.history.push(format!("{}/", self.pwd));
}
print!("\x1b]7;file://{}{};\x1b\\", &self.hostname, &self.pwd);
print!("\x1b]7;file://{}{}\x1b\\", &self.hostname, &self.pwd);
std::io::stdout().flush().ok();
self.explore_pwd()
}
Err(e) => self.log_error(e.to_string()),

Loading…
Cancel
Save