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

          
 
                                   
 

                                                                   
                                                                            

 






                                                                       


                                                                
















                                                                           







                                                                        
Installing
==========

You don't need to install anything.

You can run ranger by simply starting the executable file ranger.py
in the top directory of this package.
Use the --clean option and it will leave no trace whatsoever on your system.


If you insist on conventionally install it, use the package manager
of your operating system.  If there is no package or it is out of date,
you can also follow these instructions:


Step by step
============

(This is all done automagically if you type `sudo make install',
though you might want to read the Makefile first)

0. Make sure you have a recent version of python, including the
   curses module, which is the case if this shell command prints no errors:
   python -c 'import curses'


1. Copy the file "ranger.py" into any of the directories in the PATH
   environment variable, for example to "/usr/bin/ranger"


2. Copy the directory "ranger" into one of the python module search
   paths, for example to "/usr/lib/python2.6/site-packages/ranger".

   Ensure that the path is listed by the command:
   python -c 'import sys; print("\n".join(sys.path))'


Uninstalling
============

Use your package manager to uninstall ranger.  If you manually installed
it, revert the steps described above.

Ranger can also create a configuration directory at ~/.ranger which
you might want to remove as well.