mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-15 01:32:25 +01:00
fix bug where long lines were truncated in plain mode without wrap=never not being set
This commit is contained in:
committed by
David Peter
parent
7ffb04a17a
commit
83c9cb7907
@@ -424,7 +424,9 @@ impl<'a> Printer for InteractivePrinter<'a> {
|
||||
}
|
||||
|
||||
// Line contents.
|
||||
if self.config.wrapping_mode == WrappingMode::NoWrapping {
|
||||
if self.config.wrapping_mode == WrappingMode::NoWrapping(false)
|
||||
|| self.config.wrapping_mode == WrappingMode::NoWrapping(true)
|
||||
{
|
||||
let true_color = self.config.true_color;
|
||||
let colored_output = self.config.colored_output;
|
||||
let italics = self.config.use_italic_text;
|
||||
|
Reference in New Issue
Block a user