From d47647b8af392a616d348f8df0deb83b1ca83680 Mon Sep 17 00:00:00 2001 From: yasuda Date: Thu, 25 Jan 2024 09:22:29 +0900 Subject: [PATCH] Add `-r` option to pager `less` command to follow control chars --- cppman/lib/pager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cppman/lib/pager.sh b/cppman/lib/pager.sh index e6cc29a..e9dfb8a 100755 --- a/cppman/lib/pager.sh +++ b/cppman/lib/pager.sh @@ -91,7 +91,7 @@ case $pager_type in } 3<&0 ;; less) - render | less + render | less -r ;; pipe) render | remove_escape