diff options
author | June McEnroe <june@causal.agency> | 2022-07-28 13:46:44 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-07-28 13:46:44 -0400 |
commit | 563ac9e3bf6a9c7a9646239de1f3ed3709779b5d (patch) | |
tree | b7a24ab6ec50a706e9b7cd03ed34ded74118424e | |
parent | Only show old topic if something was removed (diff) | |
download | catgirl-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.
-rw-r--r-- | ui.c | 2 |
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); |