When updating the title window, move the cursor to the end of line
[tig] / tig.c
diff --git a/tig.c b/tig.c
index f744657..cba8c82 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -857,7 +857,7 @@ update_view_title(struct view *view)
                        wprintw(view->title, " %lds", secs);
        }
 
-
+       wmove(view->title, 0, view->width - 1);
        wrefresh(view->title);
 }