Keep scrolled up windows in status line

master
C. McEnroe 2020-07-12 09:38:52 -04:00
parent e6db22d2bb
commit 787771bebb
1 changed files with 1 additions and 1 deletions

2
ui.c
View File

@ -456,7 +456,7 @@ static void statusUpdate(void) {
wmove(status, 0, 0); wmove(status, 0, 0);
for (uint num = 0; num < windows.len; ++num) { for (uint num = 0; num < windows.len; ++num) {
const struct Window *window = windows.ptrs[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->heat < Warm) continue;
if (window->mute && window->heat < Hot) continue; if (window->mute && window->heat < Hot) continue;
} }