summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
authorJune McEnroe2022-07-28 13:46:44 -0400
committerJune McEnroe2022-07-28 13:46:44 -0400
commit563ac9e3bf6a9c7a9646239de1f3ed3709779b5d (patch)
treeb7a24ab6ec50a706e9b7cd03ed34ded74118424e /ui.c
parent4aaa2050e294d38c35ea0b5f5740541cebb9cfbd (diff)
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.
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 64bd6ce..2d1560e 100644
--- a/ui.c
+++ b/ui.c
@@ -157,7 +157,7 @@ void uiDraw(void) {
 	if (!to_status_line) return;
 	if (!strcmp(uiTitle, prevTitle)) return;
 	strcpy(prevTitle, uiTitle);
-	putp(to_status_line);
+	putp(tiparm(to_status_line, 0));
 	putp(uiTitle);
 	putp(from_status_line);
 	fflush(stdout);