Add 'c' parameter to 'less' command

This commit is contained in:
KaKi87 2024-05-29 22:49:05 +02:00 committed by GitHub
parent 8f8c953ab6
commit b8e43c143d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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