fixed #1679
This commit is contained in:
parent
dc80a2288e
commit
8134d06d32
1 changed files with 6 additions and 2 deletions
|
@ -129,8 +129,12 @@ class Topic(Win):
|
||||||
self.win.erase()
|
self.win.erase()
|
||||||
if not jid:
|
if not jid:
|
||||||
try:
|
try:
|
||||||
self.win.addnstr(0, 0, topic + " "*(self.width-len(topic)), self.width
|
self.win.addstr(0, 0, topic, curses.color_pair(1))
|
||||||
, curses.color_pair(1))
|
while True:
|
||||||
|
try:
|
||||||
|
self.win.addch(' ', curses.color_pair(1))
|
||||||
|
except:
|
||||||
|
break
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
elif jid:
|
elif jid:
|
||||||
|
|
Loading…
Reference in a new issue