When updating the title window, move the cursor to the end of line
authorJonas Fonseca <fonseca@diku.dk>
Fri, 26 May 2006 20:09:50 +0000 (22:09 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Fri, 26 May 2006 20:09:50 +0000 (22:09 +0200)
This way the cursor (hopefully) won't feel so jumpy.

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);
 }