From 6098604d92d1d209fb1de4482c52329017f10ec8 Mon Sep 17 00:00:00 2001
From: anon <anon@anon.anon>
Date: Fri, 4 Aug 2023 19:30:28 +0200
Subject: [PATCH] searching updates the screen

---
 src/display.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/display.c b/src/display.c
index cb4efa0..d59b9e4 100644
--- a/src/display.c
+++ b/src/display.c
@@ -586,10 +586,10 @@ search(void)
 	/* put back the character read */
 	(void) ungetc(c, refsfound);
 
-	/* HBB 20041027: this used to hold a copy of the code of 
-	 * countrefs(), but with the crucial display width adjustments
-	 * missing.  Just call the real thing instead! */
 	countrefs();
+
+	window_change |= CH_RESULT;
+
 	return(YES);
 }