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

Rename output component to 'style compinent', move wrap to separate module

This commit is contained in:
sharkdp
2020-03-21 20:54:16 +01:00
committed by David Peter
parent a8851e1307
commit 84ba323b1c
9 changed files with 88 additions and 86 deletions

View File

@@ -1,7 +1,8 @@
use crate::inputfile::InputFile;
use crate::line_range::{HighlightedLineRanges, LineRanges};
use crate::style::{OutputComponents, OutputWrap};
use crate::style::StyleComponents;
use crate::syntax_mapping::SyntaxMapping;
use crate::wrap::OutputWrap;
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum PagingMode {
@@ -44,7 +45,7 @@ pub struct Config<'a> {
pub true_color: bool,
/// Style elements (grid, line numbers, ...)
pub output_components: OutputComponents,
pub style_components: StyleComponents,
/// Text wrapping mode
pub output_wrap: OutputWrap,