1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-02 19:32:25 +01:00

Support a hidden arg --no-custom-assets that skips loading assets from the cache

This commit is contained in:
Martin Nordholts
2021-07-27 20:11:58 +02:00
parent a81009607a
commit b040efff79
7 changed files with 33 additions and 6 deletions

View File

@@ -82,6 +82,10 @@ pub struct Config<'a> {
/// Ranges of lines which should be highlighted with a special background color
pub highlighted_lines: HighlightedLineRanges,
/// Whether or not to allow custom assets. If this is false or if custom assets (a.k.a.
/// cached assets) are not available, assets from the binary will be used instead.
pub use_custom_assets: bool,
}
#[cfg(all(feature = "application", feature = "paging"))]