summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-03-30 15:57:43 +0200
committermathieui <mathieui@mathieui.net>2012-03-30 15:57:43 +0200
commit372b032380ff3703f1458fd965f5a8431c53f7bc (patch)
treec25792a8c3e05c08def5f477ad111e048c482c00 /src/core.py
parent12e6de0cdcf5f3cda318283c7c20402b9615824d (diff)
downloadpoezio-372b032380ff3703f1458fd965f5a8431c53f7bc.tar.gz
poezio-372b032380ff3703f1458fd965f5a8431c53f7bc.tar.bz2
poezio-372b032380ff3703f1458fd965f5a8431c53f7bc.tar.xz
poezio-372b032380ff3703f1458fd965f5a8431c53f7bc.zip
Should fix the refresh issue
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index f06b7c83..af5dde96 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1335,10 +1335,14 @@ class Core(object):
if tab is self.current_tab():
tab.text_win.refresh()
tab.info_header.refresh(tab, tab.text_win)
+ tab.input.refresh()
+ self.doupdate()
elif tab.state != old_state:
self.refresh_tab_win()
+ self.current_tab().input.refresh()
+ self.doupdate()
if 'message' in config.get('beep_on', 'highlight private').split():
- if config.get_by_tabname('disable_beep', 'false', jid.bare, False).lower() != 'true':
+ if config.get_by_tabname('disable_beep', 'false', room_from, False).lower() != 'true':
curses.beep()
def add_message_to_text_buffer(self, buff, txt, time=None, nickname=None, history=None):