summaryrefslogtreecommitdiff
path: root/ttystatus/literal.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2010-07-07 08:34:16 +1200
committerLars Wirzenius <liw@liw.fi>2010-07-07 08:34:16 +1200
commitb15fcce5b6d2046e3419b3201e38667554de53fd (patch)
treeafc2afd601ae8cadcb843e6d78761f81fa3fbfe5 /ttystatus/literal.py
parent56f628bb3d49a52c6e5ee1360b520c6381ebd510 (diff)
downloadpython-ttystatus-b15fcce5b6d2046e3419b3201e38667554de53fd.tar.gz
Speed things up by only updating widgets interested in the updated value.
Diffstat (limited to 'ttystatus/literal.py')
-rw-r--r--ttystatus/literal.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ttystatus/literal.py b/ttystatus/literal.py
index 7d8eb19..5ccfdf2 100644
--- a/ttystatus/literal.py
+++ b/ttystatus/literal.py
@@ -23,3 +23,5 @@ class Literal(ttystatus.Widget):
def __init__(self, string):
self.value = string
+ self.interesting_keys = set()
+