diff options
author | The Flying Rapist <admin@nosuck.org> | 2018-08-29 20:26:59 -0400 |
---|---|---|
committer | The Flying Rapist <admin@nosuck.org> | 2018-08-29 20:26:59 -0400 |
commit | 21c51e705e943b4282624b6a23a325ef5cbdaffa (patch) | |
tree | 83b5af3f9d4e86c87fe20b9c579ce43a67e79cb2 | |
parent | dbc1ebfd0065576585910730a3f8319297f4dfd7 (diff) | |
download | ranger-21c51e705e943b4282624b6a23a325ef5cbdaffa.tar.gz |
Applies Tilde Setting to Window Title
-rw-r--r-- | ranger/gui/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index 4f76dfab..f357e29d 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -365,7 +365,7 @@ class UI( # pylint: disable=too-many-instance-attributes,too-many-public-method DisplayableContainer.draw(self) if self._draw_title and self.settings.update_title: cwd = self.fm.thisdir.path - if cwd.startswith(self.fm.home_path): + if self.settings.tilde_in_titlebar and cwd.startswith(self.fm.home_path): cwd = '~' + cwd[len(self.fm.home_path):] if self.settings.shorten_title: split = cwd.rsplit(os.sep, self.settings.shorten_title) |