mirror of
https://github.com/sharkdp/bat
synced 2024-10-07 08:41:17 +00:00
Fixed reversed logic error for --chop-long-lines
This commit is contained in:
parent
a272d3df16
commit
375b392478
|
@ -174,9 +174,8 @@ impl App {
|
|||
}
|
||||
_ => unreachable!("other values for --wrap are not allowed"),
|
||||
}
|
||||
}
|
||||
else {
|
||||
WrappingMode::NoWrapping(true)
|
||||
} else {
|
||||
WrappingMode::Character
|
||||
}
|
||||
} else {
|
||||
// We don't have the tty width when piping to another program.
|
||||
|
|
Loading…
Reference in a new issue