diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-07-07 08:34:16 +1200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-07-07 08:34:16 +1200 |
commit | b15fcce5b6d2046e3419b3201e38667554de53fd (patch) | |
tree | afc2afd601ae8cadcb843e6d78761f81fa3fbfe5 /ttystatus/literal.py | |
parent | 56f628bb3d49a52c6e5ee1360b520c6381ebd510 (diff) | |
download | python-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.py | 2 |
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() + |