summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core.py b/src/core.py
index 0d6bf6ea..c0e5f252 100644
--- a/src/core.py
+++ b/src/core.py
@@ -178,7 +178,7 @@ class Core(object):
self.timed_events = set()
def coucou(self):
- self.command_pubsub('psgxs.linkmauve.fr')
+ self.command_pubsub('pubsub.louiz.org')
def start(self):
"""
@@ -649,7 +649,8 @@ class Core(object):
Completely erase and redraw the screen
"""
self.stdscr.clear()
- self.call_for_resize()
+ self.stdscr.refresh()
+ self.refresh_window()
def call_for_resize(self):
"""
@@ -751,6 +752,8 @@ class Core(object):
"""
ncurses initialization
"""
+ self.background = False # Bool to know if curses can draw
+ # or be quiet while an other console app is running.
curses.curs_set(1)
curses.noecho()
curses.nonl()
@@ -1530,6 +1533,6 @@ class Core(object):
self.information(_("Unknown command (%s)") % (command), _('Error'))
def doupdate(self):
- if not self.running:
+ if not self.running or self.background is True:
return
curses.doupdate()