chiark
/
gitweb
/
~mdw
/
tig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Never close backgrounded loads; only clear window when starting to update
[tig]
/
tig.c
diff --git
a/tig.c
b/tig.c
index f931e1d229c3e185caad4449bf5b66ed72462657..975e7dc9b6a789f67a7a05f3931f1a44a97e3522 100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-1344,17
+1344,15
@@
open_view(struct view *prev, enum request request, enum open_flags flags)
}
if (prev && view != prev) {
}
if (prev && view != prev) {
- /* Continue loading split views in the background. */
- if (!split)
- end_update(prev);
- else if (!backgrounded)
+ if (!backgrounded) {
/* "Blur" the previous view. */
update_view_title(prev);
/* "Blur" the previous view. */
update_view_title(prev);
+ }
view->parent = prev;
}
view->parent = prev;
}
- if (view->pipe) {
+ if (view->pipe
&& view->lines == 0
) {
/* Clear the old view and let the incremental updating refill
* the screen. */
wclear(view->win);
/* Clear the old view and let the incremental updating refill
* the screen. */
wclear(view->win);