summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorMark Rogalski <interesting.ones.are.already.taken@gmail.com>2016-05-16 19:37:11 +0200
committerMark Rogalski <interesting.ones.are.already.taken@gmail.com>2016-05-16 19:37:11 +0200
commit5a7c4334e7c18eeb799c2474ecf3266ed55bc74c (patch)
tree58864200491bbd535b14fdb6b0cf1ce429899a56 /ranger
parent902fdb7a2396c34b7e9ff3e02a86c23fde55f569 (diff)
downloadranger-5a7c4334e7c18eeb799c2474ecf3266ed55bc74c.tar.gz
Draw the line number field in main_column only
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/browsercolumn.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 9ab668e1..0344786c 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -298,8 +298,9 @@ class BrowserColumn(Pager):
             predisplay_right = []
             space = self.wid
 
+            # line number field
             if linum_mode_is_set:
-                if space - linum_text_len > 2:
+                if self.main_column and space - linum_text_len > 2:
                     linum_format = "{0:>" + str(linum_text_len) + "}"
                     line_number_text = linum_format.format(str(i))