mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-14 09:38:34 +01:00
title is being reset on quit, so no need to restore terminal title
This commit is contained in:
parent
2e103ee6b3
commit
4863d428dd
@ -42,11 +42,6 @@ fn set_terminal_title(title: &str) {
|
|||||||
io::stdout().flush().unwrap();
|
io::stdout().flush().unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn restore_terminal_title() {
|
|
||||||
print!("\x1b]2;\x07");
|
|
||||||
io::stdout().flush().unwrap();
|
|
||||||
}
|
|
||||||
|
|
||||||
impl PagerKind {
|
impl PagerKind {
|
||||||
fn from_bin(bin: &str) -> PagerKind {
|
fn from_bin(bin: &str) -> PagerKind {
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
Loading…
Reference in New Issue
Block a user