From cc73d2e1c7f323f59b565720b15f5e21401168e4 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Thu, 3 Apr 2008 19:07:42 +0200 Subject: [PATCH] Use werase() instead of wclear() when reloading a view It behaves much better by not causing the parent view to be repainted. --- tig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.32.0.93.g670b81a890