mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Fixed reversed logic error for --chop-long-lines
This commit is contained in:
1 file changed
+2
-3
+2
-3
@@ -174,9 +174,8 @@ impl App {
|
|||||||
}
|
}
|
||||||
_ => unreachable!("other values for --wrap are not allowed"),
|
_ => unreachable!("other values for --wrap are not allowed"),
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else {
|
WrappingMode::Character
|
||||||
WrappingMode::NoWrapping(true)
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// We don't have the tty width when piping to another program.
|
// We don't have the tty width when piping to another program.
|
||||||
|
|||||||
Reference in new issue
Block a user