Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #200 from mdamien/patch-1
Browse files Browse the repository at this point in the history
redraw the whole screen when switching themes
  • Loading branch information
inducer committed Sep 1, 2016
2 parents b2898bd + e77384d commit 93e57d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pudb/settings.py
Expand Up @@ -126,9 +126,7 @@ def edit_config(ui, conf_dict):

def _update_theme():
ui.setup_palette(ui.screen)

for sl in ui.source:
sl._invalidate()
ui.screen.clear()

def _update_line_numbers():
for sl in ui.source:
Expand Down

0 comments on commit 93e57d8

Please sign in to comment.