From: Christian Weisgerber Subject: Re: tog: 'n' before '/' To: gameoftrees@openbsd.org Date: Sun, 24 Jan 2021 18:17:13 +0100 Stefan Sperling: > Actually, it's not that simple. Some search_next() callbacks already > contain code to handle view->searching == 0. > > Let's add a new state flag for this. And clear any highlighted search terms > in the diff and blame views if the user types / followed by Enter. > > diff 6e210706a4224007cf266b48c28e5a54e8279589 /home/stsp/src/got That works for me and looks correct to the degree that I can follow the logic. ok -- Christian "naddy" Weisgerber naddy@mips.inka.de