Use tiparm on to_status_line
According to terminfo(5), tsl takes a single parameter! Never seen it happen, but this is technically more correct, I guess.weechat-hashes
parent
4aaa2050e2
commit
563ac9e3bf
2
ui.c
2
ui.c
|
@ -157,7 +157,7 @@ void uiDraw(void) {
|
||||||
if (!to_status_line) return;
|
if (!to_status_line) return;
|
||||||
if (!strcmp(uiTitle, prevTitle)) return;
|
if (!strcmp(uiTitle, prevTitle)) return;
|
||||||
strcpy(prevTitle, uiTitle);
|
strcpy(prevTitle, uiTitle);
|
||||||
putp(to_status_line);
|
putp(tiparm(to_status_line, 0));
|
||||||
putp(uiTitle);
|
putp(uiTitle);
|
||||||
putp(from_status_line);
|
putp(from_status_line);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
|
Loading…
Reference in New Issue