As ctrl-S doesn't work (as I haven't enabled 'raw' mode), you cannot
search forward during a reverse search. So change ctrl-G to do that
rather than search-again-in-current-direction, which isn't really useful.
Signed-off-by: NeilBrown <neilb@suse.de>
/* search again */
if ((c|tmeta) == SEARCH('R'-64))
searchdir = -2;
- else if ((c|tmeta) == SEARCH('S'-64))
- searchdir = 2;
else
- searchdir *= 2;
+ searchdir = 2;
meta = SEARCH(0);
tpos = pos; trow = row;
goto search_again;