summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/widgets/browserview.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/ranger/gui/widgets/browserview.py b/ranger/gui/widgets/browserview.py
index fe98cff2..100e1dbc 100644
--- a/ranger/gui/widgets/browserview.py
+++ b/ranger/gui/widgets/browserview.py
@@ -123,10 +123,13 @@ class BrowserView(Widget, DisplayableContainer):
 			string = " " + key + ": " + mark.path
 			self.addstr(line, 0, whitespace)
 			self.addnstr(line, 0, string, self.wid)
-		self.win.hline(line, 0, curses.ACS_HLINE, maxlen)
-		if maxlen < self.wid:
-			self.win.vline(0, maxlen, curses.ACS_VLINE, line)
-			self.win.addch(line, maxlen, curses.ACS_LRCORNER)
+
+		if self.settings.draw_borders:
+			self.win.hline(line+1, 0, curses.ACS_HLINE, maxlen)
+
+			if maxlen < self.wid:
+				self.win.vline(0, maxlen, curses.ACS_VLINE, line+1)
+				self.win.addch(line+1, maxlen, curses.ACS_LRCORNER)
 
 	def _draw_borders(self):
 		win = self.win
3afe3de64e4a'>^
6070c23e ^
7ca19e4e ^
c48ce3c8 ^
7ca19e4e ^
6070c23e ^
7ca19e4e ^













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