chiark
/
gitweb
/
~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
85af628
)
When updating the title window, move the cursor to the end of line
author
Jonas Fonseca
<fonseca@diku.dk>
Fri, 26 May 2006 20:09:50 +0000
(22:09 +0200)
committer
Jonas 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
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index f7446576c46e41a672157aac77ff239314f40601..cba8c82da3ee794e69e0772403407c8cb538e7bc 100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-857,7
+857,7
@@
update_view_title(struct view *view)
wprintw(view->title, " %lds", secs);
}
wprintw(view->title, " %lds", secs);
}
-
+ wmove(view->title, 0, view->width - 1);
wrefresh(view->title);
}
wrefresh(view->title);
}