about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-07-28 13:46:44 -0400
committerJune McEnroe <june@causal.agency>2022-07-28 13:46:44 -0400
commit563ac9e3bf6a9c7a9646239de1f3ed3709779b5d (patch)
treeb7a24ab6ec50a706e9b7cd03ed34ded74118424e
parentOnly show old topic if something was removed (diff)
downloadcatgirl-563ac9e3bf6a9c7a9646239de1f3ed3709779b5d.tar.gz
catgirl-563ac9e3bf6a9c7a9646239de1f3ed3709779b5d.zip
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 '')
-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);