1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Expand trackbar to whole line

Fix https://github.com/profanity-im/profanity/issues/1448
This commit is contained in:
Michael Vetter 2020-12-09 10:21:32 +01:00
parent f10edd202f
commit 606c1e51e6

View File

@ -1742,7 +1742,7 @@ win_print_trackbar(ProfWin* window)
wbkgdset(window->layout->win, theme_attrs(THEME_TRACKBAR)); wbkgdset(window->layout->win, theme_attrs(THEME_TRACKBAR));
wattron(window->layout->win, theme_attrs(THEME_TRACKBAR)); wattron(window->layout->win, theme_attrs(THEME_TRACKBAR));
for (int i = 1; i < cols; i++) { for (int i = 1; i <= cols; i++) {
wprintw(window->layout->win, "-"); wprintw(window->layout->win, "-");
} }