about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-07-17 02:15:13 +0200
committerhut <hut@lavabit.com>2010-07-17 02:15:56 +0200
commit8b9099835d30fc155ba6e810e75b45fff027b630 (patch)
tree4dd7320338c8d47262e7d036a4723532f1ea1423 /ranger
parent9001827456388e40f36393a9f44d6361e53210ed (diff)
downloadranger-8b9099835d30fc155ba6e810e75b45fff027b630.tar.gz
defaults.apps: make pager accept ansi color codes
This fixes the :grep command on some OSes
Diffstat (limited to 'ranger')
-rw-r--r--ranger/defaults/apps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 1f2f751c..48735196 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -94,7 +94,7 @@ class CustomApplications(Applications):
 	# ----------------------------------------- application definitions
 	# Note: Trivial applications are defined at the bottom
 	def app_pager(self, c):
-		return tup('less', *c)
+		return tup('less', '-R', *c)
 
 	def app_editor(self, c):
 		try: