diff options
author | Ian Ward <ian@excess.org> | 2014-09-27 10:35:19 -0400 |
---|---|---|
committer | Ian Ward <ian@excess.org> | 2014-09-27 10:35:19 -0400 |
commit | 51a038a1d3f6df1b90968259e1c9425d12f9ea61 (patch) | |
tree | d8ca2f2df1f031e2b8a9f705e0c675364ebbdfe0 | |
parent | 59591b85577edde016412aa5217221d6e8835051 (diff) | |
parent | a27dbb8a8e1eea59d7eecb3f4120599eb2c46826 (diff) | |
download | urwid-51a038a1d3f6df1b90968259e1c9425d12f9ea61.tar.gz |
Merge pull request #79 from elenril/master
raw_display: enable code for skipping unchanged rows during redraw
-rw-r--r-- | urwid/raw_display.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urwid/raw_display.py b/urwid/raw_display.py index a3d14a0..4853a83 100644 --- a/urwid/raw_display.py +++ b/urwid/raw_display.py @@ -745,7 +745,7 @@ class Screen(BaseScreen, RealTerminal): cy = 0 for row in r.content(): y += 1 - if False and osb and osb[y] == row: + if osb and osb[y] == row: # this row of the screen buffer matches what is # currently displayed, so we can skip this line sb.append( osb[y] ) |