walles / moar

Moar is a pager. It's designed to just do the right thing without any configuration.
Other
587 stars 17 forks source link

Failing search #152

Closed walles closed 9 months ago

walles commented 9 months ago
  1. Make your window 5 lines high so you can see 4 lines of contents + the status line
  2. Search for abcde in the following file:
    a
    ab
    abc
    abcd
    abcde
    abcdef

Current result

Not found

Expected result

Found

Notes

~ $ moar --version
v1.16.1
~ $
walles commented 9 months ago

Similar issue with this file:

1
2
3
4
5

Scale the window so that lines 1-4 are visible, then search for 5. No visible hit.