noborus / ov

🎑Feature-rich terminal-based text viewer. It is a so-called terminal pager.
https://noborus.github.io/ov
MIT License
1.47k stars 39 forks source link

Refactor align converter #623

Closed noborus closed 1 month ago

noborus commented 1 month ago

Change reflect.DeepEqual to slices.Equal. rightAlign is changed to not reset every time. Change trimLeft and trimRight to trimmedIndices. markNext and markPrev are renamed to nextMark and prevMark.