diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-07-11 02:23:45 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-07-11 02:23:45 +0200 |
commit | 956bda066b683001b23f718bd5892440d03b5401 (patch) | |
tree | 7f09f39a1f97e0fc80e554ba7bc8f7a0eab3eaea /src/core.py | |
parent | c03557efd75cd21a2798991b2729177294167842 (diff) | |
download | poezio-956bda066b683001b23f718bd5892440d03b5401.tar.gz poezio-956bda066b683001b23f718bd5892440d03b5401.tar.bz2 poezio-956bda066b683001b23f718bd5892440d03b5401.tar.xz poezio-956bda066b683001b23f718bd5892440d03b5401.zip |
PUBSUB: publish items on node, with a text editor
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 9 |
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() |