summary refs log tree commit diff
diff options
context:
space:
mode:
authorC. McEnroe2020-07-12 09:38:52 -0400
committerC. McEnroe2020-07-12 09:38:52 -0400
commit787771bebb6ab3f72163eeca3b883bcebb7a1468 (patch)
treef9591764f2c65fae8035eb2d93d5e476fde0cb37
parente6db22d2bb90698b9156537e00f4c866a6328052 (diff)
Keep scrolled up windows in status line
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 23f98a0..69eafee 100644
--- a/ui.c
+++ b/ui.c
@@ -456,7 +456,7 @@ static void statusUpdate(void) {
 	wmove(status, 0, 0);
 	for (uint num = 0; num < windows.len; ++num) {
 		const struct Window *window = windows.ptrs[num];
-		if (num != windows.show) {
+		if (num != windows.show && !window->scroll) {
 			if (window->heat < Warm) continue;
 			if (window->mute && window->heat < Hot) continue;
 		}