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:
l instructions' href='/akspecs/ranger/commit/INSTALL?h=v1.9.2&id=f51bd48a141e4886a48c4f3d498a1c329bbaf193'>f51bd48a ^
7582555b ^







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45