summaryrefslogtreecommitdiff
path: root/urwid/web_display.py
diff options
context:
space:
mode:
authorian <none@none>2007-01-03 16:40:40 +0000
committerian <none@none>2007-01-03 16:40:40 +0000
commitbb0631c371feae44582047bbfef08574dc36d363 (patch)
tree2c059fcdd95bd725e51ec4d25c0dac28b000ee48 /urwid/web_display.py
parentb14a1d3d6cd51378629e5fb9e4e3818afb46c1d5 (diff)
downloadurwid-bb0631c371feae44582047bbfef08574dc36d363.tar.gz
add clear() method to Screen classes, closes #17release-0.9.7.2
--HG-- extra : convert_revision : 507a323a1f45de1fd01b35a930d8d04f37bb9c1c
Diffstat (limited to 'urwid/web_display.py')
-rwxr-xr-xurwid/web_display.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/urwid/web_display.py b/urwid/web_display.py
index 522c713..c9da8ca 100755
--- a/urwid/web_display.py
+++ b/urwid/web_display.py
@@ -809,6 +809,17 @@ class Screen:
signal.alarm( ALARM_DELAY )
+
+ def clear(self):
+ """
+ Force the screen to be completely repainted on the next
+ call to draw_screen().
+
+ (does nothing for web_display)
+ """
+ pass
+
+
def _fork_child(self):
"""
Fork a child to run CGI disconnected for polling update method.