summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.py2
-rw-r--r--src/tabs.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 998cd05d..88f3fd07 100644
--- a/src/core.py
+++ b/src/core.py
@@ -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
diff --git a/src/tabs.py b/src/tabs.py
index 209649ac..3d28ace3 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -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"