From 6b8decf2a474545c02a961fe84771626dc325651 Mon Sep 17 00:00:00 2001 From: Cedric Erdelen Date: Wed, 28 Jan 2026 14:12:32 +0100 Subject: [PATCH 1/3] Small typo fixes --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index a4dd626f..2596d9e5 100644 --- a/src/config.rs +++ b/src/config.rs @@ -99,13 +99,13 @@ pub struct Config<'a> { #[cfg(feature = "lessopen")] pub use_lessopen: bool, - // Weather or not to set terminal title when using a pager + // Whether or not to set terminal title when using a pager pub set_terminal_title: bool, /// The maximum number of consecutive empty lines to display pub squeeze_lines: Option, - // Weather or not to set terminal title when using a pager + // Whether or not to set terminal title when using a pager pub strip_ansi: StripAnsiMode, } From 69a2ffbdac45160dcdd816f6a326ffa66a89a7ba Mon Sep 17 00:00:00 2001 From: cerdelen <95369756+cerdelen@users.noreply.github.com> Date: Wed, 28 Jan 2026 19:48:02 +0100 Subject: [PATCH 2/3] Update src/config.rs Co-authored-by: Keith Hall --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 2596d9e5..74fb4dac 100644 --- a/src/config.rs +++ b/src/config.rs @@ -105,7 +105,7 @@ pub struct Config<'a> { /// The maximum number of consecutive empty lines to display pub squeeze_lines: Option, - // Whether or not to set terminal title when using a pager + // Whether or not to strip ANSI escape codes from the input pub strip_ansi: StripAnsiMode, } From f6f1f18e9cb0d6aaaf51d9fd96911a07d211bfe2 Mon Sep 17 00:00:00 2001 From: Cedric Erdelen Date: Wed, 28 Jan 2026 19:59:10 +0100 Subject: [PATCH 3/3] remove trailing whitespace --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 74fb4dac..aa223186 100644 --- a/src/config.rs +++ b/src/config.rs @@ -105,7 +105,7 @@ pub struct Config<'a> { /// The maximum number of consecutive empty lines to display pub squeeze_lines: Option, - // Whether or not to strip ANSI escape codes from the input + // Whether or not to strip ANSI escape codes from the input pub strip_ansi: StripAnsiMode, }