~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a67fb2
)
Use werase() instead of wclear() when reloading a view
author
Jonas Fonseca
<fonseca@diku.dk>
Thu, 3 Apr 2008 17:07:42 +0000
(19:07 +0200)
committer
Jonas Fonseca
<fonseca@diku.dk>
Thu, 3 Apr 2008 17:11:05 +0000
(19:11 +0200)
It behaves much better by not causing the parent view to be repainted.
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index
a7499ea
..
eddd86e
100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-2379,7
+2379,7
@@
open_view(struct view *prev, enum request request, enum open_flags flags)
if (view->pipe && view->lines == 0) {
/* Clear the old view and let the incremental updating refill
* the screen. */
- w
clear
(view->win);
+ w
erase
(view->win);
report("");
} else {
redraw_view(view);