Only make windows hotter
A warm message shouldn't clear a window's hotness.
This commit is contained in:
джерело
7a8024ae3d
коміт
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++;
|
||||
waddch(window->pad, '\n');
|
||||
}
|
||||
window->heat = heat;
|
||||
if (window->heat < heat) window->heat = heat;
|
||||
statusUpdate();
|
||||
}
|
||||
lines += wordWrap(window->pad, str);
|
||||
|
Завантаження…
x
Посилання в новій задачі
Block a user