1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-26 17:31:42 +00:00

title is being reset on quit, so no need to restore terminal title

This commit is contained in:
Oliver looney
2023-12-10 16:44:47 +00:00
parent 2e103ee6b3
commit 4863d428dd
-5
View File
@@ -42,11 +42,6 @@ fn set_terminal_title(title: &str) {
io::stdout().flush().unwrap();
}
fn restore_terminal_title() {
print!("\x1b]2;\x07");
io::stdout().flush().unwrap();
}
impl PagerKind {
fn from_bin(bin: &str) -> PagerKind {
use std::path::Path;