mirror of
https://github.com/sharkdp/bat
synced 2024-11-15 16:38:06 +00:00
Rename wrap => wrapping
This commit is contained in:
parent
f034be71e7
commit
a8f759c080
4 changed files with 4 additions and 4 deletions
|
@ -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 a new issue