mirror of
https://github.com/sharkdp/bat.git
synced 2025-06-20 09:37:58 +02:00
Add 'c' parameter to 'less' command
This commit is contained in:
parent
8f8c953ab6
commit
b8e43c143d
@ -89,7 +89,7 @@ impl OutputType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if wrapping_mode == WrappingMode::NoWrapping(true) {
|
if wrapping_mode == WrappingMode::NoWrapping(true) {
|
||||||
p.arg("-S"); // Short version of --chop-long-lines for compatibility
|
p.arg("-Sc"); // Short version of --chop-long-lines --clear-screen for compatibility
|
||||||
}
|
}
|
||||||
|
|
||||||
// Passing '--no-init' fixes a bug with '--quit-if-one-screen' in older
|
// Passing '--no-init' fixes a bug with '--quit-if-one-screen' in older
|
||||||
|
Loading…
x
Reference in New Issue
Block a user