Make 'scrolled' themeable

This commit is contained in:
Michael Vetter
2020-05-21 09:13:42 +02:00
parent 469fa8f863
commit fcd69532ad
5 changed files with 9 additions and 0 deletions

View File

@@ -225,12 +225,15 @@ _show_scrolled(ProfWin *current)
{
if (current && current->layout->paged == 1) {
int bracket_attrs = theme_attrs(THEME_TITLE_BRACKET);
int scrolled_attrs = theme_attrs(THEME_TITLE_SCROLLED);
wattron(win, bracket_attrs);
wprintw(win, "[");
wattroff(win, bracket_attrs);
wattron(win, scrolled_attrs);
wprintw(win, "SCROLLED");
wattroff(win, scrolled_attrs);
wattron(win, bracket_attrs);
wprintw(win, "]");