Commit baf4288fe4725d5a8148a28cb492c76a4304e810

Stefan Sperling 2019-05-13T12:52:57

tog: don't clear diff view contents when indicating diff progress this is much easier on the eyes when moving through diffs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/tog/tog.c b/tog/tog.c
index f5d14d2..353d457 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -2169,8 +2169,7 @@ done:
 static void
 diff_view_indicate_progress(struct tog_view *view)
 {
-	werase(view->window);
-	waddstr(view->window, "diffing...");
+	mvwaddstr(view->window, 0, 0, "diffing...");
 	update_panels();
 	doupdate();
 }