When searching for a pattern that does not appear in the pager output, after having just searched for a pattern, pager crashes.
To replicate the issue, construct a random matrix and pipe into pager:
rand(100, 100) |> pager
Once in pager mode, search for a pattern that you see (e.g. / 0.7). All instances of that pattern will be highlighted, and something like (match 1 of 1464) 41% will appear on the bottom right. If you hit escape at this point, there is no issue. However, if you search for another pattern and that pattern does not exist (e.g. /.123456), while the search results from the previous search are still shown, pager will crash with the following stacktrace:
When searching for a pattern that does not appear in the pager output, after having just searched for a pattern, pager crashes.
To replicate the issue, construct a random matrix and pipe into pager:
rand(100, 100) |> pager
Once in pager mode, search for a pattern that you see (e.g.
/ 0.7
). All instances of that pattern will be highlighted, and something like(match 1 of 1464) 41%
will appear on the bottom right. If you hit escape at this point, there is no issue. However, if you search for another pattern and that pattern does not exist (e.g./.123456
), while the search results from the previous search are still shown, pager will crash with the following stacktrace: