diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-02-05 07:01:12 +0100 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-02-05 07:20:27 +0100 |
commit | ac2dff2881a7ab203750e8edf7a46b69ae492ed0 (patch) | |
tree | 863d44c3188c59f30499131e9d3791515e564e20 /ColorsPanel.c | |
parent | c50440f165b3bdb6b0f9d1dea7e8a945f70360ea (diff) |
Fix color behavior on some terminals.
Fixes #635.
Diffstat (limited to 'ColorsPanel.c')
-rw-r--r-- | ColorsPanel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ColorsPanel.c b/ColorsPanel.c index 627a516a..2028335f 100644 --- a/ColorsPanel.c +++ b/ColorsPanel.c @@ -78,6 +78,7 @@ static HandlerResult ColorsPanel_eventHandler(Panel* super, int ch) { this->settings->changed = true; const Header* header = this->scr->header; CRT_setColors(mark); + clear(); Panel* menu = (Panel*) Vector_get(this->scr->panels, 0); Header_draw(header); RichString_setAttr(&(super->header), CRT_colors[PANEL_HEADER_FOCUS]); |