Add gap between panes

This commit is contained in:
Paul Nameless 2019-02-18 16:12:46 +01:00
parent d03866f0e3
commit e3409a2d36

View file

@ -123,7 +123,7 @@ class ChatView:
for i, chat in enumerate(chats):
msg = f'{get_date(chat)} {chat["title"]} [{chat["unread_count"]}]: {get_last_msg(chat)}'
# msg = emoji_pattern.sub(r'', msg)[:self.w-1]
msg = msg[:self.w]
msg = msg[:self.w-1]
if len(msg) < self.w:
msg += ' ' * (self.w - len(msg) - 1)
if i == current: