about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-12-09 10:21:32 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-12-09 10:21:32 +0100
commit606c1e51e688cb111b9837579a35460508324b63 (patch)
tree9818bf056d9c01753c51191a1189bd601048415b /src/ui
parentf10edd202f64237d3d941da2da173f56d115f7ac (diff)
downloadprofani-tty-606c1e51e688cb111b9837579a35460508324b63.tar.gz
Expand trackbar to whole line
Fix https://github.com/profanity-im/profanity/issues/1448
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 6f77f107..56f477da 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1742,7 +1742,7 @@ win_print_trackbar(ProfWin* window)
     wbkgdset(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, "-");
     }