diff options
-rw-r--r-- | ranger/defaults/options.py | 1 | ||||
-rw-r--r-- | ranger/gui/widgets/browserview.py | 2 | ||||
-rw-r--r-- | ranger/shared/settings.py | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/ranger/defaults/options.py b/ranger/defaults/options.py index e41faf2f..b959fa75 100644 --- a/ranger/defaults/options.py +++ b/ranger/defaults/options.py @@ -52,6 +52,7 @@ collapse_preview = True # Draw borders around columns? draw_borders = False +draw_bookmark_borders = True # Set a title for the window? update_title = True diff --git a/ranger/gui/widgets/browserview.py b/ranger/gui/widgets/browserview.py index 100e1dbc..376c01e0 100644 --- a/ranger/gui/widgets/browserview.py +++ b/ranger/gui/widgets/browserview.py @@ -124,7 +124,7 @@ class BrowserView(Widget, DisplayableContainer): self.addstr(line, 0, whitespace) self.addnstr(line, 0, string, self.wid) - if self.settings.draw_borders: + if self.settings.draw_bookmark_borders: self.win.hline(line+1, 0, curses.ACS_HLINE, maxlen) if maxlen < self.wid: diff --git a/ranger/shared/settings.py b/ranger/shared/settings.py index 991f77d2..a4ca8df5 100644 --- a/ranger/shared/settings.py +++ b/ranger/shared/settings.py @@ -26,6 +26,7 @@ ALLOWED_SETTINGS = { 'autosave_bookmarks': bool, 'collapse_preview': bool, 'draw_borders': bool, + 'draw_bookmark_borders': bool, 'sort': str, 'reverse': bool, 'case_insensitive': bool, |