From 563ac9e3bf6a9c7a9646239de1f3ed3709779b5d Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 28 Jul 2022 13:46:44 -0400 Subject: 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. --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui.c') 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); -- cgit 1.4.1-2-gfad0