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:
@@ -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"))]
|
||||
|
Reference in New Issue
Block a user