tog: resume blame and diff search from the first line
commit7303e8c811ca9c78e98cb71ca412092c4f71387a
authorMikhail <mp39590@gmail.com>
Sun, 2 Apr 2023 01:49:30 +0000 (2 01:49 +0000)
committerThomas Adam <thomas@xteddy.org>
Tue, 4 Apr 2023 21:15:49 +0000 (4 22:15 +0100)
tree8e778b6a77e219e93b934a8538477de6eeab66f4
parent44f2135acadb53e3cdc7d9029b48fea665cf7e4f
tog: resume blame and diff search from the first line

In diff and blame views, if the user scrolls up during a search, resume
search from the first displayed line--not the current match. This makes
sense in these views as the "cursor" or current line is the first line.
Patch by Mikhail.

ok op@
tog/tog.c