diff options
author | nfnty <git@nfnty.se> | 2015-10-26 01:00:16 +0100 |
---|---|---|
committer | nfnty <git@nfnty.se> | 2015-10-28 04:31:07 +0100 |
commit | 8414941b0a490312936799cf4679e6daf417b910 (patch) | |
tree | d0252451922f24eb0dac97ae0771956022452122 | |
parent | ede5bf0f3f325e1df64f09c5b387d750d216a4a3 (diff) | |
download | ranger-8414941b0a490312936799cf4679e6daf417b910.tar.gz |
Fix TitleBar ellipsis AttributeError
-rw-r--r-- | ranger/gui/widgets/titlebar.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/gui/widgets/titlebar.py b/ranger/gui/widgets/titlebar.py index dbd08981..644db25e 100644 --- a/ranger/gui/widgets/titlebar.py +++ b/ranger/gui/widgets/titlebar.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # This file is part of ranger, the console file manager. # License: GNU GPL version 3, see the file "AUTHORS" for details. @@ -19,6 +20,7 @@ class TitleBar(Widget): throbber = ' ' need_redraw = False tab_width = 0 + ellipsis = { False: '~', True: '…' } def __init__(self, *args, **keywords): Widget.__init__(self, *args, **keywords) |