summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2015-10-26 01:00:16 +0100
committernfnty <git@nfnty.se>2015-10-28 04:31:07 +0100
commit8414941b0a490312936799cf4679e6daf417b910 (patch)
treed0252451922f24eb0dac97ae0771956022452122 /ranger
parentede5bf0f3f325e1df64f09c5b387d750d216a4a3 (diff)
downloadranger-8414941b0a490312936799cf4679e6daf417b910.tar.gz
Fix TitleBar ellipsis AttributeError
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/titlebar.py2
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)