about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 297fd7b..dcfb607 100644
--- a/ui.c
+++ b/ui.c
@@ -293,8 +293,12 @@ void uiDraw(void) {
 		BOTTOM, RIGHT
 	);
 	doupdate();
-
 	if (!to_status_line) return;
+
+	static char prevTitle[sizeof(title)];
+	if (!strcmp(title, prevTitle)) return;
+	strcpy(prevTitle, title);
+
 	putp(to_status_line);
 	putp(title);
 	putp(from_status_line);
3a2d42ea10ba64a413b4a3060200f234beccf05d&follow=1'>Add The Song of AchillesJune McEnroe 2020-06-01Allow redirecting input in everJune McEnroe 2020-05-31Add %c conversion to c scriptJune McEnroe 2020-05-31Add c script to READMEJune McEnroe 2020-05-31Add c scriptJune McEnroe 2020-05-31Update mdoc source URLsJune McEnroe 2020-05-26Remove unfinished PSF fontsJune McEnroe