mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
to make it more generally usable by clients other than ConfirmationHelper, which we will do later in this branch. Rename it to WrapViewLinesToWidth while we're at it. Add tests; in particular, add a sanity check that we wrap lines the same way as gocui does. The tests that are added here are the same ones as in gocui for its lineWrap function, but we'll extend them a bit in later commits in this branch.