mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-02 03:12:25 +01:00
Fixed reversed logic error for --chop-long-lines
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user