summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-08-02 05:03:27 +0200
committerhut <hut@lavabit.com>2012-08-02 05:04:29 +0200
commitb2050031201beaeabf61604150cb581572d53b1f (patch)
tree233876ac7ebe9b9b91b5b6e24d9ab272fdf74a4f
parent884a6e128c815e3d17313470ef84a7257ce9e8cc (diff)
downloadranger-b2050031201beaeabf61604150cb581572d53b1f.tar.gz
widgets.browsercolumn: fixed not drawing of unicode surrogates
-rw-r--r--ranger/gui/widgets/browsercolumn.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 76a3b6b3..bd00ce2f 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -100,8 +100,7 @@ class BrowserColumn(Pager):
 		self.win.move(line, 0)
 		for entry in commands:
 			text, attr = entry
-			self.win.attrset(attr)
-			self.addstr(text)
+			self.addstr(text, attr)
 
 	def has_preview(self):
 		if self.target is None: