--search broken on master
gshutler opened this issue · comments
Garry Shutler commented
$ echo -e "foo\nbar\nbaz\nquux" | selecta --search ba
4 > ba
foo
bar
baz
quux
Typing to alter the search text works as expected, it seems to just be the initial state.
Garry Shutler commented
It looks like the Search.blank
here only results in trivial matches being recorded on load.
Garry Shutler commented
Not sure how best to alter that behaviour.
Gary Bernhardt commented
Fixed, with a test on Search so it won't go unnoticed again. Now I doubly-regret adding that argument!