From b8e43c143d1c9666bb35af3b0f36e2998248e92b Mon Sep 17 00:00:00 2001 From: KaKi87 Date: Wed, 29 May 2024 22:49:05 +0200 Subject: [PATCH] Add 'c' parameter to 'less' command --- src/output.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output.rs b/src/output.rs index dc75d6e7a5..87ab290056 100644 --- a/src/output.rs +++ b/src/output.rs @@ -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