1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-07-11 11:35:19 +02:00

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

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