From 88ae8a68a2033c1a865ed5706b0151425dc98e60 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Mon, 11 Sep 2017 15:41:12 +0200 Subject: Properly use ellipsis in #3293 --- poezio/windows/info_wins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poezio/windows/info_wins.py b/poezio/windows/info_wins.py index 89832c9c..1afb34b0 100644 --- a/poezio/windows/info_wins.py +++ b/poezio/windows/info_wins.py @@ -170,7 +170,7 @@ class ConversationInfoWin(InfoWin): self.addstr('[', to_curses_attr(get_theme().COLOR_INFORMATION_BAR)) self.addstr(presence, to_curses_attr(color)) if resource and resource.status: - shortened = resource.status[:20] + (resource.status[:20] and '..') + shortened = resource.status[:20] + (resource.status[:20] and '…') self.addstr(' %s' % shortened, to_curses_attr(get_theme().COLOR_INFORMATION_BAR)) self.addstr(']', to_curses_attr(get_theme().COLOR_INFORMATION_BAR)) -- cgit v1.2.3