Only make windows hotter
A warm message shouldn't clear a window's hotness.weechat-hashes
parent
7a8024ae3d
commit
7957ca0ecd
2
ui.c
2
ui.c
|
@ -493,7 +493,7 @@ void uiWrite(size_t id, enum Heat heat, const time_t *src, const char *str) {
|
||||||
lines++;
|
lines++;
|
||||||
waddch(window->pad, '\n');
|
waddch(window->pad, '\n');
|
||||||
}
|
}
|
||||||
window->heat = heat;
|
if (window->heat < heat) window->heat = heat;
|
||||||
statusUpdate();
|
statusUpdate();
|
||||||
}
|
}
|
||||||
lines += wordWrap(window->pad, str);
|
lines += wordWrap(window->pad, str);
|
||||||
|
|
Loading…
Reference in New Issue