summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9201e61)
raw | patch | inline | side by side (parent: 9201e61)
author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 28 Jan 2009 22:10:10 +0000 (23:10 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 28 Jan 2009 22:13:48 +0000 (23:13 +0100) |
This optimize the view drawing especially when scrolling/moving down the
main view with the diff view open. Should make browsing more bareable
over slow links.
main view with the diff view open. Should make browsing more bareable
over slow links.
tig.c | patch | blob | history |
index b951c64c87a5345c9093efad14956b3f4c27d051..4fac53286e2beeecda9b688d90fda3bac10f3eec 100644 (file)
--- a/tig.c
+++ b/tig.c
if (!dirty)
return;
- redrawwin(view->win);
if (input_mode)
wnoutrefresh(view->win);
else
break;
}
- redrawwin(view->win);
if (input_mode)
wnoutrefresh(view->win);
else
draw_view_line(view, view->lineno - view->offset);
}
- redrawwin(view->win);
wrefresh(view->win);
report("");
}
/* Draw the current line */
draw_view_line(view, view->lineno - view->offset);
- redrawwin(view->win);
wrefresh(view->win);
report("");
}
if (view_is_displayed(view)) {
draw_view_line(view, old_lineno);
draw_view_line(view, view->lineno - view->offset);
- redrawwin(view->win);
wrefresh(view->win);
} else {
view->ops->select(view, &view->line[view->lineno]);