summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-03-26 16:42:52 +0000
committerJulian Andres Klode <jak@debian.org>2025-03-26 16:42:52 +0000
commitdf81558bcedba6fa20a1217f992ba5d364edf886 (patch)
tree9e375a1b113407e2d54ecca363c05bc765040927 /CMakeLists.txt
parent75b9d167825be0d6f22884ce4a8b8392bdd12d63 (diff)
parent805ddd0acc71e653d0f5f841e0ceaff665fce063 (diff)
Merge branch 'more-friendly-pager' into 'main'
pager: Also set SMK in LESS, fix LV=C to be LV=-c See merge request apt-team/apt!470
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4b0338e94..4db439d3a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -237,7 +237,7 @@ set(BIN_DIR "${CMAKE_INSTALL_FULL_BINDIR}")
# Setup the default pager and the environment
set(DEFAULT_PAGER "pager" CACHE STRING "The default pager to use for commands that support it.")
-set(PAGER_ENV "LESS=FRX\\nMORE=FRX\\nLV=C" CACHE STRING "Environment to pass to the pager. One variable per line, with escaped newlines")
+set(PAGER_ENV "LESS=FRSXMK\\nMORE=FRX\\nLV=-c" CACHE STRING "Environment to pass to the pager. One variable per line, with escaped newlines")
# Configure our configuration headers (config.h and apti18n.h)
configure_file(CMake/config.h.in ${PROJECT_BINARY_DIR}/include/config.h)