Only write out title if it has changed
This commit is contained in:
джерело
90eff04eda
коміт
66fe89b84b
6
ui.c
6
ui.c
@ -293,8 +293,12 @@ void uiDraw(void) {
|
||||
BOTTOM, RIGHT
|
||||
);
|
||||
doupdate();
|
||||
|
||||
if (!to_status_line) return;
|
||||
|
||||
static char prevTitle[sizeof(title)];
|
||||
if (!strcmp(title, prevTitle)) return;
|
||||
strcpy(prevTitle, title);
|
||||
|
||||
putp(to_status_line);
|
||||
putp(title);
|
||||
putp(from_status_line);
|
||||
|
Завантаження…
x
Посилання в новій задачі
Block a user