From: Jonas Fonseca Date: Thu, 3 Apr 2008 17:07:42 +0000 (+0200) Subject: Use werase() instead of wclear() when reloading a view X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cc73d2e1c7f323f59b565720b15f5e21401168e4;p=tig.git Use werase() instead of wclear() when reloading a view It behaves much better by not causing the parent view to be repainted. --- diff --git a/tig.c b/tig.c index a7499ea..eddd86e 100644 --- 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. */ - wclear(view->win); + werase(view->win); report(""); } else { redraw_view(view);