1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-11 20:11:43 +00: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
+3
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"))]