Fix the info_win of the InfoTab (anon mode)
This commit is contained in:
parent
fd05c7d707
commit
8aede04f5b
2 changed files with 3 additions and 2 deletions
|
@ -684,7 +684,7 @@ class Core(object):
|
|||
"""
|
||||
main loop waiting for the user to press a key
|
||||
"""
|
||||
curses.ungetch('\n') # FIXME
|
||||
curses.ungetch(0) # FIXME
|
||||
while self.running:
|
||||
char = read_char(self.stdscr)
|
||||
# search for keyboard shortcut
|
||||
|
|
|
@ -269,13 +269,14 @@ class TabWithInfoWin(Tab):
|
|||
del self.info_win
|
||||
Tab.__del__(self)
|
||||
|
||||
class InfoTab(ChatTab):
|
||||
class InfoTab(ChatTab, TabWithInfoWin):
|
||||
"""
|
||||
The information tab, used to display global informations
|
||||
when using a anonymous account
|
||||
"""
|
||||
def __init__(self, core):
|
||||
Tab.__init__(self, core)
|
||||
TabWithInfoWin.__init__(self)
|
||||
self.tab_win = windows.GlobalInfoBar()
|
||||
self.input = windows.Input()
|
||||
self.name = "Info"
|
||||
|
|
Loading…
Reference in a new issue