about summary refs log tree commit diff
path: root/mshow.c
diff options
context:
space:
mode:
authorKonst Mayer <cdlscpmv@gmail.com>2019-08-15 01:22:41 +0700
committerLeah Neukirchen <leah@vuxu.org>2019-08-14 21:49:42 +0200
commit71e2318c810522599e3b9283cef8f26bf51d4d1c (patch)
treef42b68a0c5225aeac388b240cb1442fb7d12d84b /mshow.c
parent5ee756f6a5b7913349439cecc65324bd9b41525d (diff)
downloadmblaze-71e2318c810522599e3b9283cef8f26bf51d4d1c.tar.gz
mblaze-71e2318c810522599e3b9283cef8f26bf51d4d1c.tar.xz
mblaze-71e2318c810522599e3b9283cef8f26bf51d4d1c.zip
mshow: don't use --quit-at-eof in less by default
If the user wants it, he can add it to the LESS environment variable.

Closes: #163 [via git-merge-pr]
Diffstat (limited to 'mshow.c')
-rw-r--r--mshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mshow.c b/mshow.c
index 298e209..427d381 100644
--- a/mshow.c
+++ b/mshow.c
@@ -800,7 +800,7 @@ main(int argc, char *argv[])
 		if (!pg) {
 			pg = getenv("PAGER");
 			if (pg && strcmp(pg, "less") == 0) {
-				static char lesscmd[] = "less -RFXe";
+				static char lesscmd[] = "less -RFX";
 				pg = lesscmd;
 			}
 		}