1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-06 13:22:23 +01:00

added a flag to config for setting terminal title

This commit is contained in:
Oliver looney
2024-01-27 14:14:40 +00:00
parent b4fdb5dc36
commit 9239b125b1
3 changed files with 10 additions and 0 deletions

View File

@@ -94,6 +94,9 @@ pub struct Config<'a> {
// Whether or not to use $LESSOPEN if set
#[cfg(feature = "lessopen")]
pub use_lessopen: bool,
// Weather or not to set terminal title when using a pager
pub set_terminal_title: bool,
}
#[cfg(all(feature = "minimal-application", feature = "paging"))]