summaryrefslogtreecommitdiff
path: root/ttystatus/string.py
diff options
context:
space:
mode:
Diffstat (limited to 'ttystatus/string.py')
-rw-r--r--ttystatus/string.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ttystatus/string.py b/ttystatus/string.py
index 90fb48b..92fbf88 100644
--- a/ttystatus/string.py
+++ b/ttystatus/string.py
@@ -20,12 +20,14 @@ import ttystatus
class String(ttystatus.Widget):
'''Display a value as a string.'''
+
+ static_width = False
def __init__(self, key):
self._key = key
self.value = ''
- def render(self):
+ def render(self, render):
return str(self.value)
def update(self, master):