mirror of
https://github.com/sharkdp/bat
synced 2024-11-16 21:25:56 +00:00
Rename wrap => wrapping
This commit is contained in:
parent
f034be71e7
commit
a8f759c080
@ -1,7 +1,7 @@
|
||||
use crate::line_range::{HighlightedLineRanges, LineRanges};
|
||||
use crate::style::StyleComponents;
|
||||
use crate::syntax_mapping::SyntaxMapping;
|
||||
use crate::wrap::WrappingMode;
|
||||
use crate::wrapping::WrappingMode;
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
#[cfg(feature = "paging")]
|
||||
|
@ -35,10 +35,10 @@ pub(crate) mod printer;
|
||||
pub(crate) mod style;
|
||||
pub(crate) mod syntax_mapping;
|
||||
mod terminal;
|
||||
pub(crate) mod wrap;
|
||||
pub(crate) mod wrapping;
|
||||
|
||||
pub use line_range::LineRange;
|
||||
pub use pretty_printer::PrettyPrinter;
|
||||
pub use style::{StyleComponent, StyleComponents};
|
||||
pub use syntax_mapping::{MappingTarget, SyntaxMapping};
|
||||
pub use wrap::WrappingMode;
|
||||
pub use wrapping::WrappingMode;
|
||||
|
@ -30,7 +30,7 @@ use crate::input::{OpenedInput, OpenedInputKind};
|
||||
use crate::line_range::RangeCheckResult;
|
||||
use crate::preprocessor::{expand_tabs, replace_nonprintable};
|
||||
use crate::terminal::{as_terminal_escaped, to_ansi_color};
|
||||
use crate::wrap::WrappingMode;
|
||||
use crate::wrapping::WrappingMode;
|
||||
|
||||
pub(crate) trait Printer {
|
||||
fn print_header(&mut self, handle: &mut dyn Write, input: &OpenedInput) -> Result<()>;
|
||||
|
Loading…
Reference in New Issue
Block a user