Navigation Menu

Skip to content

Commit

Permalink
redraw the whole screen when switching themes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdamien committed Aug 31, 2016
1 parent b2898bd commit e77384d
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 e77384d

Please sign in to comment.