summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS6
-rw-r--r--ttystatus/messager.py1
2 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 9abc83f..02abc3a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,12 @@
NEWS file for ttystatus
=======================
+Version X.Y, released UNRELEASED
+---------------------------------
+
+* When the terminal size changes, ttystatus will now update the display
+ at once.
+
Version 0.21, released 2012-09-29
-----------------------------------
diff --git a/ttystatus/messager.py b/ttystatus/messager.py
index 011c9a3..116300e 100644
--- a/ttystatus/messager.py
+++ b/ttystatus/messager.py
@@ -82,6 +82,7 @@ class Messager(object):
self.clear()
# Get new width.
self.set_width(self._get_terminal_width())
+ self._overwrite(self._last_msg)
def _raw_write(self, string):
'''Write raw data if output is terminal.'''