]> git.neil.brown.name Git - edlib.git/commit
history: improve stability of search.
authorNeilBrown <neil@brown.name>
Fri, 21 Jul 2023 08:29:18 +0000 (18:29 +1000)
committerNeilBrown <neil@brown.name>
Fri, 21 Jul 2023 08:29:18 +0000 (18:29 +1000)
commit69dc8f38a10208f68b81c097ab73440242bec246
tree44675fa7aa56f52ad7c578bbaee755f56f242ffa
parent26d93a35659647375aa4b973b21cbef372fdf591
history: improve stability of search.

When searching for string that matched at start of line, we would stay
on the line as we typed more of the match.
When searching elsewhere, we keep moving backward in the history.

Fix by always starting search at end of line.

Signed-off-by: NeilBrown <neil@brown.name>
DOC/TODO.md
lib-history.c