summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-05-16 15:45:26 +0200
committerhut <hut@lavabit.com>2012-05-16 15:45:26 +0200
commitf893d2feb5daa44ea7f0f1fdddcedc789d82644c (patch)
tree4b30d524c031ce26d557a29944ed151be3e24e2a
parent55342a7120fcd81ca64477218fcba8945f540b0c (diff)
downloadranger-f893d2feb5daa44ea7f0f1fdddcedc789d82644c.tar.gz
widgets.browsercolumn: fix coloring bug
-rw-r--r--ranger/gui/widgets/browsercolumn.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 3e523fbb..e0d6bd7f 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -234,6 +234,7 @@ class BrowserColumn(Pager):
 
 			if key in drawn.display_data:
 				self.execute_curses_batch(line, drawn.display_data[key])
+				self.color_reset()
 				continue
 
 			display_data = []
@@ -320,6 +321,7 @@ class BrowserColumn(Pager):
 				display_data.append([" " * max(0, self.wid - len(wtext)), attr])
 
 			self.execute_curses_batch(line, display_data)
+			self.color_reset()
 
 	def _get_scroll_begin(self):
 		"""Determines scroll_begin (the position of the first displayed file)"""