mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-21 23:33:26 +01: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) {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user