Only make windows hotter

A warm message shouldn't clear a window's hotness.
weechat-hashes
C. McEnroe 2020-02-10 03:29:38 -05:00
parent 7a8024ae3d
commit 7957ca0ecd
1 changed files with 1 additions and 1 deletions

2
ui.c
View File

@ -493,7 +493,7 @@ void uiWrite(size_t id, enum Heat heat, const time_t *src, const char *str) {
lines++;
waddch(window->pad, '\n');
}
window->heat = heat;
if (window->heat < heat) window->heat = heat;
statusUpdate();
}
lines += wordWrap(window->pad, str);