mirror of
https://github.com/paul-nameless/tg
synced 2024-11-22 03:43:19 +00:00
Add gap between panes
This commit is contained in:
parent
d03866f0e3
commit
e3409a2d36
1 changed files with 1 additions and 1 deletions
2
view.py
2
view.py
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue