mirror of
https://github.com/sharkdp/bat.git
synced 2025-07-27 03:14:13 +02:00
Add 'c' parameter to 'less' command
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user