You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Searching doesn't work for words, that do not fit in one line on current terminal size. When running navi, snippet description line is truncated with ... and words that would normally follow it (if terminal size was bigger) are not searched/found.
To Reproduce
Add snippet with long description, that doesn't fit in one line on your terminal, eg:
# bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla one
ls
Press your key shortcut to display navi snippets (ctrl+g)
Write "one"
Observe that above snippet is not displayed
Expected behavior
Navi should display above snippet # bla (...) containg searched word "one".
Versions:
OS: Linux Manjaro
Shell Version: bash but I also tried different shells (xonsh) and the problem is the same.
GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)
The text was updated successfully, but these errors were encountered:
Describe the bug
Searching doesn't work for words, that do not fit in one line on current terminal size. When running navi, snippet description line is truncated with
...
and words that would normally follow it (if terminal size was bigger) are not searched/found.To Reproduce
Add snippet with long description, that doesn't fit in one line on your terminal, eg:
ctrl+g
)Expected behavior
Navi should display above snippet
# bla (...)
containg searched word "one".Versions:
GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)
The text was updated successfully, but these errors were encountered: